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

My test script is as follows #232

Closed
SONGjiemo opened this issue Mar 6, 2022 · 3 comments
Closed

My test script is as follows #232

SONGjiemo opened this issue Mar 6, 2022 · 3 comments

Comments

@SONGjiemo
Copy link

SONGjiemo commented Mar 6, 2022

My test script is as follows:

  1. Unable to click [Custom] to set
    image

https://greasyfork.org/zh-CN/scripts/14178-ac-baidu-%E9%87%8D%E5%AE%9A%E5%90%91%E4%BC%98%E5%8C%96 %E7%99%BE%E5%BA%A6%E6%90%9C%E7%8B%97%E8%B0%B7%E6%AD%8C%E5%BF%85%E5%BA%94%E6 %90%9C%E7%B4%A2-favicon-%E5%8F%8C%E5%88%97
2. The script cannot be loaded
image

https://greasyfork.org/en-US/scripts/27752-searchenginejump-%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E5%BF%AB%E6 %8D%B7%E8%B7%B3%E8%BD%AC
3. The loading does not seem to be successful, and the function is not successful
https://greasyfork.org/en-US/scripts/422814-%E7%99%BE%E5%BA%A6%E4%BA%91%E5%8E%BB%E5%B9%BF%E5%91 %8A-%E5%BF%AB%E6%8D%B7%E9%94%AE%E5%80%8D%E9%80%9F-%E5%85%8Dvip%E8%A7%A3%E9%94 %81%E5%80%8D%E9%80%9F-%E7%94%BB%E8%B4%A8-%E5%85%A8%E7%BD%91%E7%8B%AC%E5%AE %B6

4.The script cannot be loaded
https://greasyfork.org/zh-CN/scripts/12909-google-baidu-switcher-all-in-one

System Information:

macOS or iOS version: IOS
Userscripts version: NO
Safari version: NO
Is this issue related to script injection? I have no idea
Did the test script (pasted above) successfully run on your machine? Oil monkey can be successful, but the tool on IOS does not work

@quoid
Copy link
Owner

quoid commented Mar 6, 2022

I looked at the userscript and tried to install it. I notice there are certain api methods that are not yet supported:

@grant
GM_getValue
GM.getValue
GM_setValue
GM.setValue
GM_addStyle
GM_getResourceURL **not supported**
GM_listValues
GM_getResourceUrl **not supported**
GM.getResourceUrl **not supported**
GM_xmlhttpRequest
GM_getResourceText **not supported**
GM_registerMenuCommand **not supported**
unsafeWindow

Related tasks: #224 #230

When I run the script on https://www.baidu.com, I notice errors due to the unsupported apis:
Screen Shot 2022-03-06 at 1 42 32 PM

Until the missing API methods are updated, this userscript will not function, unless the author updates the userscript to allow usage without those methods.

我正在使用翻译器,为糟糕的语法道歉。 问题是目前不支持使用的 api 方法。 我计划在未来的更新中支持这些方法。 请让我知道这是否被理解。

@quoid quoid added the question label Mar 6, 2022
@SONGjiemo
Copy link
Author

I got it, thank you very much.

@quoid
Copy link
Owner

quoid commented Apr 8, 2022

closing this issue as the unsupported API methods will be fixed in #224

我正在关闭这个问题,因为问题已经存在于另一个问题中 - 这是一个自动翻译

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