staying_alive
staying_alive copied to clipboard
works only when URL fully matches
if I use "http://localhost:8080" as trigger URL plugin does not start background requesting for URL based on given. E.g. "http://localhost:8080/test" does not start requesting.
Here's a version that allows you to put a wildcard (*) at the end of the trigger URL.
https://chrome.google.com/webstore/detail/staying-alive-with-wildca/lkdnaojfhnjkophgbnmfaciclaghffpe
Any chance we can get this fix put in the official build of Staying Alive? All I did was modify isUriMatch in lib.js:
DomainRule.prototype.isUriMatch = function (uri) { ret = uri === this.uri || (uri === (this.uri + '/') ) || uri === this.loopUri || (uri === (this.loopUri + '/') ); if (!ret && this.uri.endsWith("*")) { ret = (uri.indexOf(this.uri.slice(0,-1)) === 0); }
return !!ret;
}
Yes... this should be merged. No wildcards is annoying.
Here's a version that allows you to put a wildcard (*) at the end of the trigger URL.
https://chrome.google.com/webstore/detail/staying-alive-with-wildca/lkdnaojfhnjkophgbnmfaciclaghffpe
Any chance we can get this fix put in the official build of Staying Alive? All I did was modify isUriMatch in lib.js:
DomainRule.prototype.isUriMatch = function (uri) { ret = uri === this.uri || (uri === (this.uri + '/') ) || uri === this.loopUri || (uri === (this.loopUri + '/') ); if (!ret && this.uri.endsWith("*")) { ret = (uri.indexOf(this.uri.slice(0,-1)) === 0); }
return !!ret;
}
where can we find the git repo for this version? Thanks.
as a workaround i think you can just leave 1 tab open in that fixed URL and work in separate tab