开发者

Starting User script in Greasemonkey

开发者 https://www.devze.com 2023-01-04 06:40 出处:网络
Is it possible to run a user script before the page and DOM lo开发者_开发问答ads?Only if the user script runs on google chrome atm. Greasemonkey may support this too someday:

Is it possible to run a user script before the page and DOM lo开发者_开发问答ads?


Only if the user script runs on google chrome atm. Greasemonkey may support this too someday:

// ==UserScript==
// @name My script
// @description It's really neat
// @run-at document-start
// ==/UserScript==


As Erik Vold said, Greasemonkey cannot do this unless the browser is Chrome.

But, if this functionality is needed on any other browser, you can write an extension.

0

精彩评论

暂无评论...
验证码 换一张
取 消