我的技术公众号「iCSS 前端趣闻」,想 Get 到最有意思的 CSS 资讯,千万不要错过 😄 ✏️ Recent Blog |
我的 CSS 书籍 - 「CSS 技术揭秘与实战通关」 |
chokcoco / del_ad_chrome_ext Goto Github PK
View Code? Open in Web Editor NEW一款简易的chrome拓展程序,可清除页面中的广告。
一款简易的chrome拓展程序,可清除页面中的广告。
我的技术公众号「iCSS 前端趣闻」,想 Get 到最有意思的 CSS 资讯,千万不要错过 😄 ✏️ Recent Blog |
我的 CSS 书籍 - 「CSS 技术揭秘与实战通关」 |
算是一点最佳实践:
1: browser_action 是不需要的,因为一点功能都没有,就显示一个静态的Clear success?不要增加不必要的浏览器元素。
2:permission也是不需要的,因为在content_script中已经定义了。不做CROS,不动态注入的话,不需要申请网址permission
3:content_scripts中的matches值可简写为“:///”, 其他网址的定义就更不需要了。只要有了:///,就是对所有网址都生效,无需再申明其他网址匹配。
4:content_scripts还可添加一项“run_at”:"document_end",这样注入的文件就会在文档节点加载完以后就开始执行,否则默认会等所有资源都加载完才执行。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.