Code Monkey home page Code Monkey logo

dns-blocker's Introduction

dns-blocker

DNS Blocker for Chrome and Firefox (Web Extension)

Installation

Chrome

  1. Clone this repository
  2. Visit chrome://extensions/
  3. Enable Developer mode.
  4. Click on Load unpacked extension
  5. Select the web-extension directory of the cloned folder. (You'll get an "Disable dev mode extensions" popup, if you try restarting Chrome at this stage)
  6. Click on Pack extension and enter the web-extension directory of the cloned folder (keep pem file empty)
  7. Uninstall the previously installed extension (as unpacked extension)
  8. Install the extension using the .crx file generated at step 5 and note its ID
  9. Add the following registry key
    • Under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist (create it if not exists), create a new string for each extension you want to enable with sequential names (indices), e.g. 1, 2,...
    • Enter the extension ID as string value. For example: there is a string with name 1 and value nmgnihglilniboicepgjclfiageofdfj
  10. Restart Chrome
  11. You can check that the policy is working in Chrome by opening chrome://policy

In order to override the extension shortcuts : go to chrome://extensions/shortcuts

Firefox

  1. Clone this repository
  2. Visit about:debugging
  3. click This Firefox
  4. click Load Temporary Add-on then select the any file inside the web-extension directory (At this stage, the extension will be removed if you restart Firefox - The extension must be signed to be installed permanently)
  5. Generate a zip file of the extension
  6. Submit the archive on https://addons.mozilla.org/developers/ (requires a Firefox account)
  7. Download the signed xpi file and install it on Firefox

In order to override the extension shortcuts : go to about:addons and select Manage Extension Shortcuts

License

FontAwesome - CC BY 4.0 License

dns-blocker's People

Contributors

fredjoseph avatar

Stargazers

Me avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.