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

Unified Diff: include.preload.js

Issue 5644946291818496: Issue 433 - Made adjustments for $sitekey-related changes to the Matcher API (Closed)
Patch Set: Created Sept. 15, 2014, 9:22 a.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 | « background.js ('k') | lib/whitelisting.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
@@ -58,11 +58,11 @@
}
}
-function checkExceptionKey()
+function checkSitekey()
{
var attr = document.documentElement.getAttribute("data-adblockkey");
if (attr)
- ext.backgroundPage.sendMessage({type: "add-key-exception", token: attr});
+ ext.backgroundPage.sendMessage({type: "add-sitekey", token: attr});
}
function hasInlineURL(element, attribute)
@@ -203,6 +203,6 @@
if (document instanceof HTMLDocument)
{
- checkExceptionKey();
+ checkSitekey();
init(document);
}
« no previous file with comments | « background.js ('k') | lib/whitelisting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld