SuprBay: The PirateBay Forum

Full Version: embed javascript or programming in stylesheets
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.