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

匹配网址的限制 #2

Closed
qhq opened this issue Dec 29, 2023 · 2 comments
Closed

匹配网址的限制 #2

qhq opened this issue Dec 29, 2023 · 2 comments

Comments

@qhq
Copy link

qhq commented Dec 29, 2023

因为代码有支持的网站列表,那是否可以match仅匹配这些站点,而不是全网启用。
虽然开销不大,主要个人不是很喜欢所有网站都会启用不适用的脚本。
个人一点小想法,不喜勿喷。

@Bistutu
Copy link
Owner

Bistutu commented Dec 29, 2023

所有网站通用是基于我当初的设想,AI翻译+Google机翻,目前机翻功能还没有做。抱歉给你带来了困扰,不过如果你愿意的话,可以自己修改下油猴脚本的适配规则,我在下面给出了目前我 README 中所包含的网站,你把这些规则粘贴进去,替代原先的 @match *://*/* 规则即可。

// @match        *://openai.com/*
// @match        *://*.openai.com/*
// @match        *://*.docker.com/*
// @match        *://mvnrepository.com/*
// @match        *://stackoverflow.com/*
// @match        *://star-history.com/*

@Bistutu
Copy link
Owner

Bistutu commented Dec 29, 2023

我会考虑一下你的想法

@qhq qhq closed this as completed Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants