Skip to content

Instantly share code, notes, and snippets.

@jbarreraballestas
Created October 26, 2023 19:51
Show Gist options
  • Save jbarreraballestas/936f5668ebdd708988e4e525fa9159c9 to your computer and use it in GitHub Desktop.
Save jbarreraballestas/936f5668ebdd708988e4e525fa9159c9 to your computer and use it in GitHub Desktop.
How to remove 000webhost logo

Hide 000webhost logo using CSS

a[title="Hosted on free web hosting 000webhost.com. Host your own website for FREE."]{
  display: none;
}

Remove 000webhost logo using Javascipt

window.addEventListener('load', ()=>{
    fula = document.querySelector(
        'a[title="Hosted on free web hosting 000webhost.com. Host your own website for FREE."]');
    if (fula) {
        fulaParent = fula.parentNode;
        if (fulaParent) {
            fulaParent.remove();
        }else{
            console.log('Parent Fula not exists');
        }
    }else{
        console.log('Fula not exists');
    }
    document.querySelector('script:last-child').remove()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment