adblockplus/adblockpluschrome — pull request #7 by Rob--W (2014-11-01 17:24:35+00:00)
Title: Fix "Uncaught ReferenceError: ext is not defined"

This patch is temporary and can be reverted once the Chromium bug
(https://crbug.com/416907) has been fixed.

To make merging/reverting the patch easier, I have changed the main if-block
to a function that takes the original if-body as a main function. The main
function is called whenever the bootstrapper has made sure that the environment
is ready. (The alternatives, disabling the content script or using XHR, were
not so appealing.)

Fixes
https://issues.adblockplus.org/ticket/1370
https://adblockplus.org/forum/viewtopic.php?f=10&t=25507

I hereby waive any rights of this contributed piece of software, you may do whatever you want with it (this comment is an alternative to signing the CLA at https://adblockplus.org/eyeo-contributor-license-agreement.pdf).