soapdog / book-controlling-your-web-experience-with-addons

A book about controlling the web with addons
MIT License
3 stars 0 forks source link

how many resources, addon example #8

Open Mte90 opened 7 years ago

Mte90 commented 7 years ago

For the tbtw campaign i done that extension: https://github.com/Mte90/how-many-resources The purpose is to show how many external resources a page load, so we can mobilize about privacy and development. The code is commented so much and the way to use it is very simple, there is a button that inject an iframe with another button. That button show that informations in the iframe and there is a background script that communicate between the browser (to inject the iframe), a content script for the page for the iframe and the iframe content.

soapdog commented 7 years ago

Thanks a lot! I will check it out 😸

Mte90 commented 7 years ago

With 100 lines of code works very great, as example documented during hackaton was useful