Skip to content

Instantly share code, notes, and snippets.

@jhordybarrera
Created October 26, 2023 19:51
Show Gist options
  • Select an option

  • Save jhordybarrera/936f5668ebdd708988e4e525fa9159c9 to your computer and use it in GitHub Desktop.

Select an option

Save jhordybarrera/936f5668ebdd708988e4e525fa9159c9 to your computer and use it in GitHub Desktop.

Revisions

  1. jhordybarrera created this gist Oct 26, 2023.
    27 changes: 27 additions & 0 deletions remove_000webhost_logo.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    Hide 000webhost logo using CSS

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

    Remove 000webhost logo using Javascipt

    ```js
    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()
    })
    ```