-
Notifications
You must be signed in to change notification settings - Fork 12
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
'userutils not defined' #659
Comments
That userscript generates too many error to pin point the cause. |
:/ So there's nothing I can do? |
The script is too large to debug. You can ask the userscript developer. He might be able to find out the reason. |
Hi, author here, I've just tested with a tiny script and came to the conclusion that loading Script source - click to expand// ==UserScript==
// @name FM resource test
// @match *://*.example.org/*
// @version 1.0
// @resource abc https://raw.githubusercontent.com/Sv443/BetterYTM/v2.1.0/assets/translations/en_US.json
// @grant GM.getResourceUrl
// ==/UserScript==
(async () => {
console.log("GM", GM);
console.log("GM.getResourceUrl", GM.getResourceUrl);
console.log(`GM.getResourceUrl("abc")`, GM.getResourceUrl("abc"))
console.log(`await GM.getResourceUrl("abc")`, await GM.getResourceUrl("abc"))
})(); |
There is a typo bug in FireMonkey. It should be Line 4 in a2a7357
Lines 215 to 217 in a2a7357
Lines 653 to 655 in a2a7357
|
Alright thanks, I'll verify everything once it's released. |
Hi dev, I added this script on FireMonkey https://greasyfork.org/en/scripts/475682-betterytm
but it fails to insert due to 'UserUtils is not defined' do you know why?
The text was updated successfully, but these errors were encountered: