session-alive icon indicating copy to clipboard operation
session-alive copied to clipboard

Trigger URL with wildcards

Open madduck opened this issue 5 years ago • 6 comments

Several sites I work with don't have a consistent entrance URL, but include e.g. a UUID or some other data that changes, including date etc..

Could Session Alive please be made to trigger on wildcard URLs too? Thanks!

madduck avatar Feb 11 '20 23:02 madduck

I completely agree, i have the same problem.. This app really needs a "https://www.website.com/*" option, to include the keepalive timer for everything that starts with that URL As it is now, it's quite useless for what i need it for

BourgeoisDirk avatar Oct 22 '20 14:10 BourgeoisDirk

This would be a very useful improvement! I have problems with several sites not being recognized, and where wildcard in the url would be most useful. An example is the Aliexpress site (which have a short time before getting logged out). The url have several different formats when navigating. For example: https://best.aliexpress.com/ https://track.aliexpress.com/ https://messages.aliexpress.com/ ...and so on. Could this be solved to allow wildcard in session-alive (i.e. set the trigger url to https://*aliexpress.com* ?

Thanks for a great addon!

tnilzon avatar Apr 06 '21 08:04 tnilzon

the trigger URL should be extended.

i can thing of many options:

  • exact URL with query string (for compatibility with current configs)
  • exact URL without query string
  • regexp on URL
  • host
  • host and subdomains

maybe a string plus a type would work fine

given the string, type could default to:

  • if string includes protocol -> URL without query string
  • if string does not include protocol -> host and subdomains

Lanchon avatar Jul 10 '21 15:07 Lanchon

I would have hoped this worked, but it doesnt: https://xx.mycompanyname.be/BC/ (I put "x" around the * because it wouldn't show) This however is seen as valid: https://somedocker.mycompanyname.be/BC/* Why is this first wildcard not allowed ? We create docker containers where the first part is just a unique collection of letters and numbers.

Please extend the functionality to accept any wildcard at any place in the url, with multiple wildcards allowed. Also, the https://somedocker.mycompanyname.be/BC/* wildcard doesn't seem to be working. The Plugin keeps saying no Rules are Running for some reason .. Also pages for these urls are open

BourgeoisDirk avatar Jul 30 '21 10:07 BourgeoisDirk

Hi @madduck @BourgeoisDirk @tnilzon @Lanchon First of all, Thank you all for this feature request. I have committed the Trigger URL with wildcards feature with version 2.2 Please test and provide feedback I will test this and publish to Firefox within some days To install as developer extension please follow the steps: https://github.com/arunelias/session-alive#installation

arunelias avatar Dec 02 '21 16:12 arunelias

Thanks @arunelias, have added it and will report if there are issues!

madduck avatar Dec 02 '21 20:12 madduck