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

@match 端口匹配错误 #244

Closed
DreamNya opened this issue Dec 8, 2023 · 1 comment
Closed

@match 端口匹配错误 #244

DreamNya opened this issue Dec 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@DreamNya
Copy link
Contributor

DreamNya commented Dec 8, 2023

脚本猫@match http://localhost:3000/会匹配到http://localhost:8080/

截图:
ce796a348f1d90ab268b55f996b507a4
6bca961bd77138d5270a545a904844ea
cc2b20eb66459b7e38b31d07fdd77d1b

@CodFrm CodFrm added the bug Something isn't working label Dec 14, 2023
CodFrm added a commit that referenced this issue Dec 18, 2023
@CodFrm CodFrm closed this as completed Dec 18, 2023
@CodFrm
Copy link
Member

CodFrm commented Dec 18, 2023

// ==UserScript==
// @name         New Userscript
// @namespace    https://bbs.tampermonkey.net.cn/
// @version      0.1.0
// @description  try to take over the world!
// @author       You
// @match        http://localhost:8000/zh-CN/
// @match        http://localhost:300/zh-CN/
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
})();

刚刚试了一下,tampermonkey上述代码匹配到。。。。。所以脚本猫之前对这个也进行了处理,这应该算是一个feature

不过为了规范,我觉得还是纠正过来好点,不规范的东西都西内!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants