|
本帖最后由 o535913 于 2022-12-2 12:07 编辑
专门对数码之家做了适配, 多数其它网站也有效果
下载地址 https://files.catbox.moe/qu4onv.zip 同时附件里也有一份(附加下载 扣 56 M 币), 解压后让 chrome 加载这个插件即可
在加载前注意看看两个文本文件的内容是否和下面文件相同, 如果不同就不要用了, (不同的话说明文件被改过了, 不安全).
chrome ==> 设置 ==> 插件 ==> 加载 ... 选中文件夹即可
也可以新建一个文件夹, 放入如下两个文本内容 再把文件夹作为 chrome 插件加载
文件 manifest.json 内容如下
- {
- "manifest_version": 3,
- "name": "resume_color",
- "version": "1.0",
- "content_scripts": [{
- "matches": ["*://*/*"],
- "js": [
- "color.js"
- ],
- "run_at": "document_end"
- }]
- }
复制代码
文件 color.js 内容如下- (function(){
- const css = document.querySelector('#toptb > style'); if (css) css.remove();
- const style = document.createElement('style');
- style.innerHTML = '* {filter: none !important}';
- document.body.appendChild(style);
- })()
复制代码 color.js 也可以是下面这样的, 能适应更多网站
(function(){
const css = document.querySelector('#toptb > style'); if (css) css.remove();
const style = document.createElement('style');
style.innerHTML = '* {filter: none !important; -webkit-filter: none !important;}';
document.head.appendChild(style);
})()
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
打赏
-
查看全部打赏
|