Live data from Hacker News

Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages

github.com

11–20 of 26 posts

Re: Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages

#13
post #5

Demos? Screenshots?

Here's a bookmarklet to try it out on any site (paste into the URL bar, hit enter): javascript:(function(d,l){l=d.createElement("link");l.rel="stylesheet";l.href="https://github.com/tlrobinson/evil.css/raw/master/evil.css";d.body.appendChild(l)})(document);

i was just injecting JSes with bookmarklets. got to see CSS tricks too, thanks for sharing this. nothing blinks on HN though ;)

Re: Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages

#14

I don't think a single rule in that stylesheet is IE compatible. If your goal is to get people to switch back to that browser, then this would work beautifully. This is truly evil on multiple levels.

Clearly IE is less evil than we thought :)

Seriously though, if you have evil IE-compatible rules I'll gladly add them. It just wasn't worth my effort to boot a VM to test these in IE, or even look up whether they were supported.

Some of these could be fun: http://msdn.microsoft.com/en-us/library/ms532847(v=vs.85).as...

Re: Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages

#15
post #5

Demos? Screenshots?

Here's a bookmarklet to try it out on any site (paste into the URL bar, hit enter): javascript:(function(d,l){l=d.createElement("link");l.rel="stylesheet";l.href="https://github.com/tlrobinson/evil.css/raw/master/evil.css";d.body.appendChild(l)})(document);

Two Chrome subprocesses jumped to 99.9% CPU usage after running that on this page. Awesome. (Chrome 9.0.597.102 on OSX 10.6)

Re: Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages

#16
post #2

What's the point of this project? To prove that your coding skills are top or to prove that you're some kind of an a-hole who gets a kick out of screwing with people's stuff? Don't answer these questions: either way, you are a d-bag (your avatar pic proves my point). BIG fat F to github for allowing projects like these to be uploaded. BIG fat F to hacker news too: gotta have one more hit, huh?. What a joke.

Tom is not a douchebag. You, sir, are the douchebag

Re: Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages

#17
post #2

What's the point of this project? To prove that your coding skills are top or to prove that you're some kind of an a-hole who gets a kick out of screwing with people's stuff? Don't answer these questions: either way, you are a d-bag (your avatar pic proves my point). BIG fat F to github for allowing projects like these to be uploaded. BIG fat F to hacker news too: gotta have one more hit, huh?. What a joke.

I bet you're a riot on April Fools.

Re: Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages

#18
Very nice...or should I say evil? The slowly fading text is a nice touch, and the blurry text just makes it even more evil since it makes it that much harder to read.

It reminds me of a quick script that I wrote to prank a friend. It makes whatever webpage they're viewing , but only occasionally, and not all elements on the page blink at the same rate.

It's a userscript so it works natively in Chrome or in Firefox with Greasemonkey. If anyone is interested you can check it out at https://github.com/seancron/wtf.js

Post reply on HN