-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background URI matching on initalisation #22
Comments
see #18. also, URL matching should always be case sensitive. |
Hi @fatdunky |
Hi,
I have been trying to get session-alive working with outlook webmail.
What i have found is, the rules work when using "Add a Rule for the page". But then when opening a new tab or reopening the browser etc the rule is not applied.
The issue appears to be that outlook adds alot onto the end of its URL etc.
So in background.js when you match the URI (line 234), you do an exact match:
if (bg_triggerUriVal !== "" && bg_triggerUriVal.replace(/\/$/, '').toLowerCase() == uri) {
From debugging i can see the following values:
Are we able to update the match to an indexOf? (the same as foreground matches?) or add an option into setting to enable indexOf matching?
if (fg_loopUriVal !== "" && uri.length >= fg_loopUriVal.length && uri.indexOf(fg_loopUriVal) === 0) {
The text was updated successfully, but these errors were encountered: