Open surajrao opened 6 years ago
Workaround is change the include to // @include /^https?:\/\/(.*\.)stackexchange\.com/.*$/
@surajrao Would you suggest we add that to the script? Do you want to create a pull request maybe?
Its working without a glitch for me.. I could do a pull request. But do I need to just make changes in dist / folder or the build xml file ?
Heh, good point. I forgot about how these URLs are generated. Probably a bit more complicated than I hoped.
This is also related to #133 and #138 as the latter only fixed the dist
files.
The userscript already uses // @include /^https?:\/\/(.*\.)?stackexchange\.com/.*$/
. So that can't be the fix :D
I guess it would need to be // @include /^https?:\/\/(.*\.)stackexchange\.com/.*$/
(?
removed). But that require a lot of changes in the build system.
How about we just add // @exclude *://stackexchange.com/*
? This seems to resolve it for me.
Go to https://stackexchange.com
Following error in the console:
Regex probably needs a tweak:
// @include /^https?:\/\/(.*\.)?stackexchange\.com/.*$/
to disable in the main site as I do not see a use case there