// ==UserScript==// @name test// @match https://www.aol.com/video/view/*// ==/UserScript==setTimeout(functionpoll(){constiframe=document.querySelector('iframe[allowfullscreen]');constdoc=iframe&&iframe.contentDocument;constvideo=doc&&doc.querySelector('video[src]');if(!video){setTime...
Tampermonkey is causing the following error to come up on any page, even one where it's not running a script, while it's running: Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received ...
Allow coorporate pages to detect Tampermonkey even when developer mode is not enabled General: Fixed the configuration of script positions via drop down menu Fix GM.cookie.list() to resolve also if called without an argument Allow GreasyFork's install button to update correctly after moving a scr...
例如,我要遍历一个 list,若其中一行包含某个状态,则跳转到下一页。 实现方法是在修改 window.location.href 之后,抛出个异常,即可终止当前 tampermonkey 脚本。 $('li').each(function (index, item) { var url = base_url + $(item).attr('href'); var spans = $(item).find('something2'); if (...
Userscript support GreaseMonkey compatibility GreaseMonkey add-on Userscript User script GreaseMonkey Google Chrome What's new in Tampermonkey 5.3.3: Chrome: Allow coorporate pages to detect Tampermonkey even when developer mode is not enabled General: Fixed the configuration of script positions via drop...
完整的 TypeScript 开发体验 完整的油猴 API 类型提示 自动生成 UserScript 根据代码中应用到的命令自动生成 @grant 标记(省时省力!) 如何使用 克隆到本地 git clone git@gitee.com:horizon007/tampermonkey-cli.git 安装依赖 yarn #或 npm install 在projects/{projectName}/main.ts 中编写入口代码 执行打包...
Once installed it will appear in your toolbar as a new monkey-shaped icon but activating it will not produce just a simple easy to use interface, but instead a fully-featured script manager that holds a wide variety of tools and options.To properly get a handle on all the functionalities ...
selfto whitelist the domain the script is currently running at. localhostto access the localhost. an IP address like1.2.3.4. *. If it's not possible to declarealldomains a userscript might connect to then it's a good practice to do the following: ...
Version 5.3.6218 Renamed the extension to Tampermonkey Classic Fixed the configuration of script positions via drop down menu App Privacy The developer,Jan Biniok, indicated that the app’s privacy practices may include handling of data as described below. For more information, see thedeveloper’s ...
It’s relatively easy for a developer to make a user script; it’s not complicated.As such, there are tons of user scripts on the internet! Furthermore, sites that provide user scripts often contain scripts written by many developers, so it can be hard to tell which one are okay and ...