Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1000 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 1000 Bytes

HNS.TO Warning Removal Script

This repository demonstrates a simple HTML page displaying "Hello World" with accompanying JavaScript to remove specific elements from the DOM.

Usage

Open index.html in a web browser using the https://hns.to bridge and the HNS.TO warning banner will be removed.

The JavaScript in script.js will remove elements with the following criteria:

  • <a> elements with href="https://www.hns.to"
  • <div> elements with style containing background-color: rgb(241, 0, 19);
  • <div> elements with style="margin: 0; padding: 0; height: 75px"

Files

  • index.html: Contains the HTML structure.
  • script.js: Contains the JavaScript code that removes the HNS.TO banner from the DOM.
  • README.md: Provides information about the repository.

Support

For any issues or questions regarding the plugin, please join the Telegram .

License

No license, no limits. Free to use, abuse and improve this code however you see fit.