Skip to content

Commit

Permalink
Removes donation from wikipedia (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaaogui authored Sep 16, 2020
1 parent 1e4600b commit 377d658
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ public void onPageFinished(WebView view, String url) {
"javascript:(function f() {" +
"document.getElementsByClassName('docs-ml-header-item docs-ml-header-drive-link')[0].style.display='none'; " +
"})()");

view.loadUrl(
"javascript:(function f() {" +
"document.getElementById('p-donation').style.display='none'; " +
"})()");
}

private String youtubeProtect(WebView view, String urlParameter) {
Expand Down

0 comments on commit 377d658

Please sign in to comment.