Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.preload.js

Issue 29737561: Issue 6539, 6782 - Implement support for snippets (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Rebase, use snippets library from core Created July 13, 2018, 2:59 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dependencies ('k') | lib/scriptInjection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include.preload.js
===================================================================
--- a/include.preload.js
+++ b/include.preload.js
@@ -587,16 +587,18 @@
});
}
};
if (document instanceof HTMLDocument)
{
checkSitekey();
+ browser.runtime.sendMessage({type: "snippets.executeScripts"});
+
elemhide = new ElemHide();
elemhide.apply();
document.addEventListener("error", event =>
{
checkCollapse(event.target);
}, true);
« no previous file with comments | « dependencies ('k') | lib/scriptInjection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld