Adblock Plus extension for Firefox and other Gecko-based browsers
JavaScript Python CSS Perl
Permalink
Failed to load latest commit information.
chrome Issue 4658 - Incorporate element hiding emulation filters Dec 13, 2016
ext Issue 3853 - Use new messaging API for the first-run page Mar 22, 2016
lib Issue 4658 - Incorporate element hiding emulation filters Dec 13, 2016
.gitignore Issue 3551 - Use a .gitignore file for git users Nov 4, 2016
.hgignore Noissue - Added *.pyo to .hgignore Mar 12, 2015
.hgtags Added tag 2.8.2 for changeset a1bab215375d Nov 22, 2016
COPYING Create COPYING Sep 18, 2014
README.md Noissue - Add Mercurial/Git to the list of requirements in README May 11, 2016
addChecksum.py Issue 3952 - Fix whitespaces for compliance with PEP-8 Apr 18, 2016
build.py Issue 3952 - Fix whitespaces for compliance with PEP-8 Apr 18, 2016
chrome.manifest Issue 2510 - Support Adblock Browser May 13, 2015
dependencies Issue 4658 - Incorporate element hiding emulation filters Dec 13, 2016
ensure_dependencies.py Issue 4589 - Update buildtools dependency to revision dadad687f607 Oct 31, 2016
icon.png Issue 1534 - Replace ABP icon with new one Feb 25, 2015
icon64.png Issue 1534 - Replace ABP icon with new one Feb 25, 2015
metadata.gecko Issue 4658 - Incorporate element hiding emulation filters Dec 13, 2016
normalizeLocales.pl Noissue - Updated copyright year Jan 20, 2016
search_and_replace.pl Noissue - Updated copyright year Jan 20, 2016
test_locales.pl Noissue - Updated copyright year Jan 20, 2016
update_locales.py Noissue - Updated copyright year Jan 20, 2016
validateChecksum.py Issue 3952 - Fix whitespaces for compliance with PEP-8 Apr 18, 2016

README.md

Adblock Plus for Firefox

Building

Requirements

Building the extension

Run the following in the project directory:

./build.py build

This will create a build with a name in the form adblockplus-1.2.3.nnnn.xpi. This file will contain the source code currently in the repository and all available locales.

Installing the extension automatically

To simplify the process of testing your changes you can install Extension Auto-Installer. Assuming that Extension Auto-Installer is configured to use port 8888 (the default value), you can push your changes to the browser by running:

./build.py autoinstall 8888

The extension will be updated immediately.

Running the unit tests

To verify your changes you can use the existing unit test suite. The unit tests are a separate extension that is installed in addition to Adblock Plus. You can either install the existing unit test builds or clone the repository and create your own build. After installing the unit tests go to extension's options and run the unit tests from there.