如何将chrome oilmonkey脚本限制为单个页面或仅某些页面?

| 除了在某些域上,有没有一种方法可以防止chrome运行oilmonmonkey脚本?我可以用
location.href
做一些黑客,但是如果有一个更干净的解决方案,那将是很好的。 当我通过拖动鼠标“ 1”将其安装到浏览器中时,该脚本会自动在所有网站上运行。 我该如何预防?     
已邀请:
        如此处所述,使用
@match
。 例:
// ==UserScript==
// @match http://*/*
// @match http://*.google.com/*
// @match http://www.google.com/*
// ==/UserScript==
    

bab

        在元数据中使用@include @exclude标签? http://diveintogreasemonkey.org/helloworld/metadata.html     

要回复问题请先登录注册