Coder Social home page Coder Social logo

dinneo / adblockpluschrome Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adblockplus/adblockpluschrome

0.0 3.0 0.0 5.96 MB

Adblock Plus for Chrome source code

License: GNU General Public License v3.0

JavaScript 91.91% Python 2.92% HTML 3.09% CSS 2.08%

adblockpluschrome's Introduction

Adblock Plus for Chrome and Opera

This repository contains the platform-specific Adblock Plus source code for Chrome and Opera. It can be used to build Adblock Plus for these platforms, generic Adblock Plus code will be extracted from other repositories automatically (see dependencies file).

Building

Requirements

Building the extension

Run the following command in the project directory:

./build.py -t chrome build -k adblockpluschrome.pem

This will create a build with a name in the form adblockpluschrome-1.2.3.nnnn.crx Note that you don't need an existing signing key for Chrome, a new key will be created automatically if the file doesn't exist.

Development environment

To simplify the process of testing your changes you can create an unpacked development environment. For that run the following command:

./build.py -t chrome devenv

This will create a devenv.chrome directory in the repository. In Chrome you should load the directory as an unpacked extension. After making changes to the source code re-run the command to update the development environment, the extension should reload automatically after a few seconds.

Running the unit tests

To verify your changes you can use the unit test suite located in the qunit directory of the repository. In order to run the unit tests go to the extension's Options page, open the JavaScript Console and type in:

location.href = "qunit/index.html";

The unit tests will run automatically once the page loads.

Linting

You can lint the code using ESLint.

eslint *.js lib/ qunit/ ext/ chrome/

You will need to set up ESLint and our configuration first, see eslint-config-eyeo for more information.

adblockpluschrome's People

Contributors

aeurielesn avatar andreynovikov avatar bobwallis avatar doomb0t avatar drsaudi avatar fhd avatar kzar avatar manvel avatar mathiasbynens avatar rob--w avatar snoack avatar taylorchu avatar thomasgreiner avatar ttjoseph avatar wvspee-eyeo avatar

Watchers

 avatar  avatar  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.