tab-reloader icon indicating copy to clipboard operation
tab-reloader copied to clipboard

issue with subpage matching

Open bartekbutyn opened this issue 1 year ago • 2 comments

I want to reload dashboard of my bank [1], but I dont want other subpages, ex payment ones [2] to be reloaded:

[1] - https://online.mbank.pl/dashboard?profile=of [2] - https://online.mbank.pl/payments/domesticeea

So i useed: "url": "re:online\.mbank\.pl\/dashboard" but it reloads both mentioned pages ([1] and [2]) and I want only [1] to be realoaded and [2] not reloaded. :)

I also tried: "url": "pt:.online.mbank.pl/dashboard." with same result - both pages are reloading.

I also tried this with second bank and the result is the same - even if I enter subpage it doesn't matter, host part is taken only.

Below full custom jobs, I'll be happy to hear solution.

[ { "variation": 0, "current": true, "nofocus": true, "cache": true, "form": false, "offline": false, "discarded": false, "nodiscard": false, "randomize": false, "scroll-to-end": false, "switch": false, "sound": false, "sound-value": "1", "blocked-words": "", "blocked-period": "00:00:00 - 23:59:59", "code": "", "pre-code": "", "hh": 0, "mm": 1, "ss": 0, "url": "re:online\.mbank\.pl\/dashboard" } ]

bartekbutyn avatar Sep 13 '23 09:09 bartekbutyn

I recently had to do this as well and once I understood how the regex was formatted it worked. try using these urls, they should work:

"url": "re:online\\.mbank\\.pl\\/Login\\/dashboard\\/"

CrackedBatch avatar Jan 16 '24 20:01 CrackedBatch

Hello, thank you for answer. :) It does not matter if I escape once or twice it still don't work as expected.

-- Bartłomiej Butyn

On 2024-01-16 21:42, CrackedBatch wrote:

I recently had to do this as well and once I understood how the regex was formatted it worked. try using these urls, they should work: "url": "re:online.mbank.pl/dashboard?profile=of" "url": "re:online.mbank.pl/payments/domesticeea"

— Reply to this email directly, view it on GitHub https://github.com/james-fray/tab-reloader/issues/153#issuecomment-1894481486, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVLNEZEV3UUWZDKNANXJ7DYO3Q4DAVCNFSM6AAAAAA4WDXPYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGQ4DCNBYGY. You are receiving this because you authored the thread.Message ID: @.***>

bartekbutyn avatar Jan 17 '24 11:01 bartekbutyn