Windows 10 RS5 broke Tampermonkey's require function

Issue #18723722 • Unassigned

Details

Author
驰 雷.
Created
Aug 19, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
18.17741
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Expected Behavior
Userscripts included other scripts by @reqiure should work properly.
Actual Behavior
On Windows 10 RS5 build 17741, scripts with @reqiure cannot work properly.
Specifications
One of a test script can be found here: https://github.com/zanetu/direct_google . After install, the script should work as it clamed, but it not work and the console says "$ is not defined". And tampermonkey says the outer script it required is 0 KB. The issue is not limited just to this script.
Edge: 18.17741
TM: 4.6.5757
OS: Windows 10 build 17741
Script
https://github.com/zanetu/direct_google (not limited to single script, the issue affects many scripts)
Besides, not all @require will be broken. Some will work. But I don’t know why.

Attachments

0 attachments

    Comments and activity

    • Tampermonkey get’s an “Out of stack space” error. You can reproduce this with this snippet:

          var M = 32687;
          var xmlhttp = new XMLHttpRequest();
          xmlhttp.open("GET", 'http://test.tampermonkey.net/jquery-2.1.0.js');
          xmlhttp.responseType = 'arraybuffer';
          xmlhttp.onload = function(r) {
              console.log(xmlhttp.response);
              var r = '';
              var view = new window.Uint8Array(xmlhttp.response);
              for (var i=0; i

    You need to sign in to your Microsoft account to add a comment.

    Sign in