Is there a tool that injects javascript into the location bar of a web page?
-
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.
-
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.
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