Skip to content
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

Weird GM_ problems #423

Closed
Delamcode opened this issue Feb 19, 2023 · 7 comments
Closed

Weird GM_ problems #423

Delamcode opened this issue Feb 19, 2023 · 7 comments

Comments

@Delamcode
Copy link

Delamcode commented Feb 19, 2023

Why does this not work? According to the author it seems GM_ functions do not work, but it lists them as supported under the api in the readme. I am using an iPad for this, and do not have access to a mac.

@Delamcode
Copy link
Author

For the record, I’m fine with editing the script, as long as I understand what the problem is…

@quoid
Copy link
Owner

quoid commented Feb 19, 2023

GM_ api methods are not supported - check out the readme.

@Delamcode
Copy link
Author

What is the difference between GM_ and GM.?

@quoid
Copy link
Owner

quoid commented Feb 19, 2023

@Delamcode posting that information in the other issue in case the author wants to update their user script.

@Delamcode
Copy link
Author

I’ve tried switching it to GM. but I still have problems. Give me a minute.

@Delamcode
Copy link
Author

Delamcode commented Feb 19, 2023

This is the error:
ReferenceError {} column: 43 line: 87 message: "Can't find variable: GM_registerMenuCommand" sourceURL: "https://duckduckgo.com/?q=what+is+the+meaning+of+life&t=ipad" stack: "enableCommandMenu@https://duckduckgo.com/?q=what+is+the+meaning+of+life&t=ipad:87:43↵main@https://duckduckgo.com/?q=what+is+the+meaning+of+life&t=ipad:54:26↵@https://duckduckgo.com/?q=what+is+the+meaning+of+life&t=ipad:112:17↵@https://duckduckgo.com/?q=what+is+the+meaning+of+life&t=ipad:179:3↵@https://duckduckgo.com/?q=what+is+the+meaning+of+life&t=ipad:181:15↵global code@https://duckduckgo.com/?q=what+is+the+meaning+of+life&t=ipad:182:11↵appendChild@[native code]↵injectJS@safari-web-extension://F0435466-F9A8-46C1-B498-8953D9410A63/content.js:274:34↵processJS@safari-web-extension://F0435466-F9A8-46C1-B498-8953D9410A63/content.js:222:21↵@safari-web-extension://F0435466-F9A8-46C1-B498-8953D9410A63/content.js:402:18" __proto__: Object

@quoid
Copy link
Owner

quoid commented Feb 19, 2023

I posted the reasons in the other repo. This is not an issue with this manager because those methods are not supported. It is now up to the user script author, or yourself to update the user script.

Support for the older GM_ methods has already been requested, so I am closing this issue.

@quoid quoid closed this as completed Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants