Coder Social home page Coder Social logo

bmarklet-blocker's Introduction

[Your Project Name]

[Your Project Name] is a collection of bookmarklets designed to enhance your browsing experience by allowing you to easily pick, block, and manage elements on web pages, similar to functionalities provided by browser extensions like uBlock Origin.

Description

This project includes three main bookmarklets:

  • Picker.js: Allows you to select elements on a web page and save their selectors for future use.
  • Blocker.js: Uses saved selectors to hide elements on web pages.
  • Editor.js: Enables editing or deleting previously saved selectors.

Features

  • Easy to use and lightweight
  • No need for browser extensions
  • Works on any web page

Installation

To use these bookmarklets:

  1. Create a new bookmark in your browser.
  2. Copy and paste the minified code for the bookmarklet you want to use into the URL section of the bookmark.

Minifying Bookmarklet Code

Before using the bookmarklets, you need to minify the JavaScript code. This project includes a package.json setup for minifying JavaScript files using Terser.

Run the following command to install the necessary dependencies:

npm install

Then, you can minify the JavaScript files by running:

npm run minify:all

Usage

After adding the bookmarklets to your browser, click on the bookmarklet you wish to use while on any web page.

  • Picker: Click the bookmarklet and then click on any element on the page to save its selector.
  • Blocker: Click the bookmarklet to automatically hide elements based on previously saved selectors.
  • Editor: Click the bookmarklet to edit or delete saved selectors.

Contributing

Contributions to [Your Project Name] are always welcome. You can contribute in different ways:

  • Submit bug reports or feature requests
  • Write code for new features or bug fixes
  • Create or improve documentation

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

bmarklet-blocker's People

Contributors

edoloughlin avatar

Watchers

 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.