Here is the AdBlock source code, licensed under the GPLv3. If you'd like to contribute code, send patches through getadblock.com/support/ . Enjoy!