-
Notifications
You must be signed in to change notification settings - Fork 6
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
SOUP causes Chat Easter Egg script to load twice in Edge #35
Comments
Thanks for the report! Honestly, I have no idea what might be causing it, and I still don't have easy access to Edge to test it on. If you'd like to help test this, one thing you could do is try to figure out which SOUP fix (if any) triggers it. If you open the SOUP code for editing in Tampermonkey, you'll see that most of it is made up of blocks of code like this:
Each of those blocks contains a fix for a single issue (or, occasionally, a bunch of closely related ones), and they're designed to be self-contained enough that one can pretty safely just remove any such block without affecting the others. So what you could do is just rip out a bunch of fixes from SOUP, save it, reload the page and check if the double loading message still comes up. Repeat until it doesn't, then undo the most recent removal and try removing something else. Eventually, you should find one fix (or, just possibly, a couple of fixes interacting somehow) such that removing it stops the bug from happening, while removing all other fixes doesn't. Or, just possibly, it might turn out that the problem still persists after removing all the fixes from SOUP, which would also be an interesting result (since it would suggest that the trigger is in the shared helper/injection code at the end of SOUP, or possibly even in the user script headers). Of course, I completely understand if you don't have the time or interest to do all that. But if you do, it could be helpful in tracking down the cause of this weird behavior. |
It's not that much of a problem now, because of the workaround the script author added. That said, I still think it should be investigated, as it's a bug. I'm leaving this open in case someone else wants to investigate it, or if I have enough time later. |
@gparyani, you get a console error:
What is the first word of that message? (Should be true or false). Also, SOUP is set to |
@BrockA It's I don't see |
@gparyani SOUP does have But it's interesting that making the Easter egg script run at |
One thing you could test is what happens if you remove all the code from SOUP (i.e. everything below the |
The But the window This strongly suggests that it is a TM on Edge bug. (More likely, TM has yet to work around an underlying Edge bug.) |
@gparyani, I can't. I don't have MS Edge and won't ever use it. |
@gparyani What is your MS Edge version?
@BrockA: I can neither reproduce this issue (of course after reverting the Tested with MS Edge version: Thanks |
@derjanb , I don't think I ever saw the bug myself since I don't use MS Edge and don't support MS Edge. Was debugging remotely via website messages. It looks like, |
@derjanb I'm running Edge 41.16299.371.0. (Based on your build numbers, I assume you're participating in the Windows Insider Program; I guess this issue will be fixed when I install the April 2018 Update, as I'm no longer a member of the Insider Program.) |
When using this script along with SOUP in Microsoft Edge, the dropdown it adds to the page shows up twice (or used to until the author of that script added a workaround). Disabling SOUP fixes it.
I reported this to the developer of that script, who responded by implementing a workaround that explicitly prevents their script from loading twice and displays a console error message if it attempts to load twice. With SOUP disabled, I don't see this console message; with SOUP enabled, I do. This is still a bug, because the script shouldn't be attempting to load twice with SOUP enabled in the first place.
Also, according to that script's developer, the problem does not occur in Chrome, so it could be a bug in Edge or in the implementation of the Edge port of Tampermonkey. I reported this here to investigate if this is indeed a problem in SOUP or not, since disabling SOUP fixes the issue.
The text was updated successfully, but these errors were encountered: