Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Product Lifecycle
  3. Free Tools
  4. Is there a tool that injects javascript into the location bar of a web page?

Is there a tool that injects javascript into the location bar of a web page?

Scheduled Pinned Locked Moved Free Tools
questionjavascripthtmltutorial
2 Posts 2 Posters 15 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 15078716
    wrote on last edited by
    #1

    A web browser. A location bar. Javascript can be manually typed into it and run from there on the web page which is showing. Is there a tool that does that? Example: A web site might have offensive images that are included from a different site. The javascript could search the html for those images and change them to a blank space. Thus, the user of the web browser looking at that site would see it loading, but before those offensive images show up the html of that page is changed to not showing those images. Does this exist? What is a link to it? Have you used it? Does it work? I know that someone wrote one years ago in Visual Basic 6 that worked very well. I would like to have one that is current. Thanks.

    Richard DeemingR 1 Reply Last reply
    0
    • M Member 15078716

      A web browser. A location bar. Javascript can be manually typed into it and run from there on the web page which is showing. Is there a tool that does that? Example: A web site might have offensive images that are included from a different site. The javascript could search the html for those images and change them to a blank space. Thus, the user of the web browser looking at that site would see it loading, but before those offensive images show up the html of that page is changed to not showing those images. Does this exist? What is a link to it? Have you used it? Does it work? I know that someone wrote one years ago in Visual Basic 6 that worked very well. I would like to have one that is current. Thanks.

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Sounds like you're looking for Tampermonkey[^]. Or possibly a content blocker like uBlock Origin[^]. But neither option will be able to block 100% of "offensive" images, even if you can get users to agree on a precise definition for what counts as offensive.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups