Some run-at make require loading crash
See original GitHub issueFollowing Uncaught (in promise) ReferenceError: <function_from_@require_directive> is not defined #1580
Is it a new bug that some values of @run-at
will cause the script to not load @require
library at run time?
// ==UserScript==
// @name New NG script
// @require https://github.com/jesus2099/konami-command/raw/de88f870c0e6c633e02f32695e32c4f50329fc3e/lib/SUPER.js?version=2022.3.24.224
// ==/UserScript==
"use strict";
console.log("NEW NG SCRIPT");
createTag("span", {}, "test");
This does not work, the SUPER.js code is not append.
I also tried // @run-at document-ready
and // @run-at document-idle
both no good (NG), as well.
// ==UserScript==
// @name New OK script
// @require https://github.com/jesus2099/konami-command/raw/de88f870c0e6c633e02f32695e32c4f50329fc3e/lib/SUPER.js?version=2022.3.24.224
// @run-at document-start
// ==/UserScript==
"use strict";
console.log("NEW OK SCRIPT");
createTag("span", {}, "test");
This works with // @run-at document-start
!?
Other values than document-start
are blocking the @require
loading.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Rust keeps crashing as I try to load into a server
Here are some troubleshooting steps: 1. Using System File Checker in Windows to make sure there is no missing or corrupted files in...
Read more >System error (Game crashes on loading screen) : r/leagueoflinux
Issue - The game just crashes when i try to enter the loading screen. ... How have you made it run at the...
Read more >Troubleshooting - Landfall
You can see the system requirements on the Steam Store page for each game: ... Some software will automatically run at startup in...
Read more >Browser crash detection server side c# - Stack Overflow
As when browser or page crashes I need to detect it in the server-side what I actually found is this solution so far...
Read more >Grounded Fatal Error, Crash, And Fixes - RespawnFirst
Grounded PC is facing errors like the crash at startup, ... Players just have to make the game run at DX 11 and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you click the link you’ll see the versions that include the fix.
Fixed in 070eca76. The workaround until the new release might be to add something meaningless to the second URL e.g.
#bugfix