-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issue: My Shows doesn't work #120
Comments
Originally posted by @enchained in #14.357043855 |
Found problem, TLDs are blocked off... will find a workaround:
if(configuration) {
let host = location.host.replace(/^(ww\w+\.)/, ''),
// ^ww\w+ - the problem, as myshows uses `\w{2}.myshows.me/...`
doms = configuration.__domains.split(',');
if(!~doms.indexOf(host))
return;
} |
/* location.host.split('.').reverse().slice(0, 2).reverse().join('.') */
host.replace(/^(ww\w+|\w{2})\./, '') |
Describe the error
The plugin for My Shows doesn't work correctly.
To Reproduce
Steps to reproduce the behavior:
Estimated location
0U
C7P
Screenshots
Extension Information
4.0
GitHub
chrome
firefox
Additional comments
The plugin starts correctly, but doesn't go on after requesting the
PLUGIN
update event. It also never logs theUTILS_TERMINAL
state as all other sites do (withDEVELOPER_MODE
enabled).The text was updated successfully, but these errors were encountered: