Skip to content

PwnHash/000webhost-bypass-watermark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

000webhost-bypass-watermark

How to remove the " Powered by 000webhost " watermark :

alt text

CSS

img[src*="https://cdn.000webhost.com/000webhost/logo/footer-powered-by-000webhost-white2.png"] {
       display: none;
}

Js 1

document.querySelectorAll('a[href*="000webhost"]').forEach(e => e.remove());

Js 2

The page gets loaded in a separate iframe, where I could not control the watermark usage. Hence, I added a custom script which is as below:

window.addEventListener("DOMNodeInserted", function(event){
    if(event.target.localName=="iframe"){
      event.target.addEventListener("load", function(event2){
         // HERE YOU GO.
         event.target.contentDocument.querySelector("img[alt*='www.000webhost.com']").style.cssText = "display: none;";
      });
    }
});

Problem solved only for an iframe.

About

en un peu plus simple

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.0%
  • CSS 23.0%