7 ms·
Evil.css: an evil stylesheet for injecting into unsuspecting users' webpages
- bleech 16y agoWhat'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.
- fletchowns 16y agoOh calm down, it's just for fun. evil.css is purely for entertainment purposes. I'm not responsible for anything you do with evil.css, nor do I suggest doing any of the above activities, especially hacking backbone routers. Do they have a demo page? I wanna see it in action.
- someone_here 16y agojavascript:(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);
- dgritsko 16y agoYou created an account just to post this comment? Whether you think this project is a good idea or not, there's no reason to resort to ad hominem attacks. "Don't answer these questions [...]" But I suppose you're just not interested in having a discussion.
- click170 16y agoGod forbid you ever find out about Metasploit, your poor little head might explode!
- tlrobinson 16y ago"Don't answer these questions" Don't worry, I wasn't going to.
- davisml 16y agoTom is not a douchebag. You, sir, are the douchebag
- ceejayoz 16y agoI bet you're a riot on April Fools.
- click170 16y agoDemos? Screenshots?
- tlrobinson 16y agoHere'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);
- makethetick 16y ago"direction:rtl;" could be a nice addition if you pick the right location for it.
- creativeembassy 16y agoI 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.
- tlrobinson 16y agoClearly 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).aspx http://msdn.microsoft.com/en-us/library/ms532847(v=vs.85).as...
- seancron 16y agoVery 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 <blink>, 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 https://github.com/seancron/wtf.js
- tiddchristopher 16y agoI experience only minimal, practically unnoticeable, slowdown with the stylesheet. (Firefox 4, Beta 12, badged as Iceweasel, on a Debian 64-bit system.)
- bkaid 16y agoNice. It makes the text on the page look like IE9 or a WPF app.
- snsr 16y agoFantastic! Like a contemporary, portable version of jodi.org.
- issaco 16y ago* contemplates forking this into a version which specifically targets facebook * Rotate the like buttons into FSF style like buttons .sp_cwqcqa { -webkit-transform: rotate(180deg) !important; }
- tlrobinson 16y agoNice one. Please do and I'll accept a pull request.
- soulclap 16y agoFinding ways to blow up things and especially your own code is an important skill for every developer and designer. If I learned one thing in my first serious programming job (where we couldn't just do a quick deploy on a central server), it's that you should always try to come up with scenarios that will make things break, both in the planning and in the testing phase. I thought that's common sense, that's why I am not getting the hate. You can learn a lot from projects like this, even if it's only the approach.
- r00fus 16y agoI just find this CSS to be not evil enough, but don't have the time to make it more malicious. Something more along the lines of upside-down-ternet would be better... make it available but laughably unusable for your target sites/audience.
- ck2 16y agoand April 1st is less than a month away...
- js4all 16y agoFunny, and it also demonstrates the risks of CSS injection far more effective than a dull article.