-
Notifications
You must be signed in to change notification settings - Fork 125
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
对@match规则的处理问题 #30
Labels
bug
Something isn't working
Comments
测试了一下,并没有出现,能给出一个具体的网址和截图吗? // ==UserScript==
// @name Match test
// @namespace https://bbs.tampermonkey.net.cn/
// @version 0.1.0
// @description try to take over the world!
// @author You
// @match https://bbs.tampermonkey.net.cn
// ==/UserScript==
(function() {
'use strict';
// Your code here...
})(); |
出现问题的网址是“http://IP地址:端口号/“ 格式的,当把端口号设置为通配时就会出现上述情况 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在tampermonkey中,@match “https://hostname” 规则仅会使脚本在该域名的主页运行,即pathname=="/"时运行
而在scriptcat中,@match “https://hostname” 规则会使脚本在该域名下的所有页面运行,和@match “https://hostname/*” 的效果相同
The text was updated successfully, but these errors were encountered: