Skip to content

Commit

Permalink
Merge pull request #38 from Pradeep1409/main
Browse files Browse the repository at this point in the history
#36 fix banner in printing option
  • Loading branch information
isanchop authored Nov 2, 2023
2 parents 316a52a + 4a62a3a commit 18f87f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions remove-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ window.addEventListener('load', function(){
if(premiumButton != null){
premiumButton.parentNode.removeChild(premiumButton);
}
var banner_wrapper = document.querySelectorAll("_8690b6fc16a3,.banner-wrapper,_4d5ecd011027");
if (banner_wrapper != null) {
for (i = 0; i < banner_wrapper.length; i++) {
banner_wrapper[i].style.display = "none";
}
}

/* Mobile */
if (window.innerWidth <= 990){
Expand Down

0 comments on commit 18f87f1

Please sign in to comment.