The source project of this merge request has been removed.
7338 - Don't use DOM APIs from background page (part 1)
These are the initial changes for 7338 which aren't blocked.
See part 2, for further changes which are blocked by adblockplusui and adblockpluscore changes.
Edited by Dave Vandyke