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

Side by Side Diff: adblock-android-webview/assets/inject.js

Issue 29782630: Issue 6000 - Rename "libadblockplus-android" (Closed)
Patch Set: Created May 15, 2018, 9:30 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « adblock-android-webview/assets/hide.js ('k') | adblock-android-webview/build.gradle » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var hideElements = function() 1 var hideElements = function()
2 { 2 {
3 // no need to invoke if already invoked on another event 3 // no need to invoke if already invoked on another event
4 if ({{BRIDGE}}.isElementsHidden()) 4 if ({{BRIDGE}}.isElementsHidden())
5 { 5 {
6 {{DEBUG}} console.log('already hidden, exiting'); 6 {{DEBUG}} console.log('already hidden, exiting');
7 return; 7 return;
8 } 8 }
9 9
10 // hide using element visibility (to be replaced with script body) 10 // hide using element visibility (to be replaced with script body)
(...skipping 24 matching lines...) Expand all
35 }); 35 });
36 36
37 // DOMContentLoaded event 37 // DOMContentLoaded event
38 document.addEventListener('DOMContentLoaded', function() 38 document.addEventListener('DOMContentLoaded', function()
39 { 39 {
40 {{DEBUG}} console.log('DOMContentLoaded() event fired'); 40 {{DEBUG}} console.log('DOMContentLoaded() event fired');
41 hideElements(); 41 hideElements();
42 }, false); 42 }, false);
43 43
44 }; 44 };
OLDNEW
« no previous file with comments | « adblock-android-webview/assets/hide.js ('k') | adblock-android-webview/build.gradle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld