Expected Behavior
Script is installed.
Actual Behavior
Infinite "Please wait" window.
People are having trouble installing a userscript on Chrome. This userscript gave no issues in the past, and it still can be successfully installed on Edge and FF.
When clicking the link to the script, TM opens the import tab and says "Please wait", then a file save dialogue pops. After that the Please wait message remains forever. This actually happens whenever the script is loaded - via link, via file, or if I manually copy paste it, change the version to a lower one and try updating. But if I copy-paste the script, it works. The other scripts I have tested are installed as usual.
UPDATE I've been assuming that this error happens on any install/update operation, but it turns out the fresh install is OK, but any subsequent updates except for the manual copy/pasting the code, result in the infinite "Please wait" window. Also it seems this has something to do with the size of the script being updated. Scripts >30Mb have this behavior.
Specifications
- Chrome: 131.0.6778.109
- TM: 5.3.3
- OS: Win11
Script
// ==UserScript==
// @name betteR20-beta-5etools
// @namespace https://5e.tools/
// @license MIT (https://opensource.org/licenses/MIT)
// @version 1.35.186.13
// @updateURL https://raw.githubusercontent.com/redweller/betterR20/dev-beta/dist/betteR20-5etools.meta.js
// @downloadURL https://raw.githubusercontent.com/redweller/betterR20/dev-beta/dist/betteR20-5etools.user.js
// @description Enhance your Roll20 experience
// @author 5egmegaanon/astranauta/MrLabRat/TheGiddyLimit/DBAWiseMan/BDeveau/Remuz/Callador Julaan/Erogroth/Stormy/FlayedOne/Cucucc/Cee/oldewyrm/darthbeep/Mertang/Redweller
// @match https://app.roll20.net/editor
// @match https://app.roll20.net/editor#*
// @match https://app.roll20.net/editor?*
// @match https://app.roll20.net/editor/
// @match https://app.roll20.net/editor/#*
// @match https://app.roll20.net/editor/?*
// @grant unsafeWindow
// @run-at document-start
// @grant GM_webRequest
// ==/UserScript==
Expected Behavior
Script is installed.
Actual Behavior
Infinite "Please wait" window.
People are having trouble installing a userscript on Chrome. This userscript gave no issues in the past, and it still can be successfully installed on Edge and FF.
When clicking the link to the script, TM opens the import tab and says "Please wait", then a file save dialogue pops. After that the Please wait message remains forever. This actually happens whenever the script is loaded - via link, via file, or if I manually copy paste it, change the version to a lower one and try updating. But if I copy-paste the script, it works. The other scripts I have tested are installed as usual.
UPDATE I've been assuming that this error happens on any install/update operation, but it turns out the fresh install is OK, but any subsequent updates except for the manual copy/pasting the code, result in the infinite "Please wait" window. Also it seems this has something to do with the size of the script being updated. Scripts >30Mb have this behavior.
Specifications
Script