arunelias / session-alive

Session Alive
MIT License
91 stars 11 forks source link

Trigger URL with wildcards #18

Open madduck opened 4 years ago

madduck commented 4 years ago

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!

BourgeoisDirk commented 3 years ago

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

tnilzon commented 3 years ago

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!

Lanchon commented 3 years ago

the trigger URL should be extended.

i can thing of many options:

maybe a string plus a type would work fine

given the string, type could default to:

BourgeoisDirk commented 3 years ago

I would have hoped this worked, but it doesnt: https://x*x.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

arunelias commented 2 years ago

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

madduck commented 2 years ago

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