netdebug / content-scripts Goto Github PK
View Code? Open in Web Editor NEWThis project forked from monkandmonkey/content-scripts
Chrome Extension content-scripts example.
This project forked from monkandmonkey/content-scripts
Chrome Extension content-scripts example.
chrome extension: "A simple content scripts example." 2016/2/24 [MonkandMokey] ------------------------------------------ chrome extension has 3 main kinds: 1. browser action 2. page action 3. content scripts This example is a content scripts. Which means it works in the background. For more details, you can find in chrome extension's official documents. --------------------------------------------------------------------------- Function: Get the tagname of the focus DOM element which is being clicked. There will be an alert popup, and the DOM element will change its background color into orange. -------------------------------------------------------------------------------- Note: * In manifest.json, you can choose the websites which will allow the extension to run. eg: "matches":["http://news.163.com/*"] * Sometimes the CSP(content security policy) will bring you some limitation in your javascript. When it happens, look for the chrome extension's document for help. You may need to change your code a little bit. Chrome did all these for better security. ------------------------------------------------ File Lists: * manifest.json: List the files' name so that chrome will find them. Assign the attributes that needed. * popup.js: The function and logic is reliazed here.
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.