Skip to content
프로젝트

소개

CSS는 아직 충분히 사악하지 않으니까요.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

evil.css

Mess with peoples' webpages. Various subtle and not-so-subtle CSS rules that will slowly drive people insane.

Inspired by Upside-Down-Ternet and kitcambridge's evil.js.

Fork it and add your own evil rules. Worthy pull requests will be accepted.

How to use it

Inject it into unsuspecting users' webpages. evil.js was intended to wreak havoc on sites hotlinking JavaScript library files, however hotlinking CSS is far less common. Some other evil ideas:

  • Set it as the user stylesheet in a browser (example: discouraging "customers" at retail stores from using the computers to browse Facebook and check their email).
  • Inject it into webpages or CSS files served to WiFi leachers on your open access point.
  • Exploit this week's WordPress vulnerability and add it to your friend's blog.
  • Hack an Internet backbone router and inject it into everyone's webpages.

A script called evil-safari-mac.sh is included that automates setting Safari's user stylesheet to the latest version of evil.css. Run it on any Mac using Terminal.app with this easy to remember URL:

curl -L bit.ly/evil-safari-mac | sh

Uninstall it by deselecting the stylesheet in Safari's preferences, or execute this in a shell:

defaults write "com.apple.Safari" "WebKitUserStyleSheetEnabledPreferenceKey" "1"

Demo

This bookmarklet will inject the latest version of evil.css into any webpage, just copy and paste into the URL bar and hit enter:

javascript:(function(d,l){l=d.createElement("link");l.rel="stylesheet";l.href="https://rawgithub.com/tlrobinson/evil.css/master/evil.css";d.body.appendChild(l)})(document);

See Also

Credits

License

Public domain.

Obligatory disclaimer

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.

관련 프로젝트 살펴보기

불러오는 중…