embed javascript or programming in stylesheets
#1
i was wondering if it is possible to embed javascript into the page's stylesheet css file.

i found a program for the mac i dont know if there is a windows version called stylish

https://extensions.apple.com/details/?id...5555L95H45

it allows you to add your own style sheets to a web site and you can even get stylesheets that claim to remove ads and even porn from tpb.

seeing that ones who run tpb does not want to automate fakes removal out of maybe fear of it preventing legit torrents or something

i think i could write a script that could be embedded into the stylesheet or exploit a bug common to underpinnings of browsers that allow image files to execute

embedded code i could write something that reads the html file and removes lines containing specific  text that is indicative of a fake like the consistent file sizes and remove or hide those lines.

this would work on the same idea as the porn and ad remover feature of stylish.
Reply
#2
You aren't aware of how CSS and javascript work, you think images are executable, and you are going to write a script to filter out fakes?

Best of luck with that.


But to answer your first question, no, you can't embed javascript in CSS.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming on Cell Phones RobertX 16 54,569 Apr 19, 2023, 02:56 am
Last Post: RobertX
  Question about javascript f0xxii 2 27,715 Sep 02, 2021, 14:16 pm
Last Post: bertanen
  Learning a programming language Belinda 14 53,485 Oct 03, 2017, 08:56 am
Last Post: RobertX
  Favourite Programming Language to design GUI Applications RobertX 5 25,864 May 05, 2017, 04:14 am
Last Post: Jatts69
  Delphi Programming help. Slim65 2 19,468 Feb 07, 2017, 15:22 pm
Last Post: maskaw



Users browsing this thread: 1 Guest(s)