misterx: (Default)
[personal profile] misterx
Experimenting with Greasemonkey scripts and a Firefox extension called Platypus today. Platypus lets you change certain things in a webpage, then save it as a greasemonkey script. Starting with that, then editing by hand from there, I have created what is surely a poorly written Greasemonkey script that does the following:
  • Replaces any mention of "War on Terror" with "War on Pants",
  • Replaces any mention of "War on Global Terror" with "Global War on Pants", and
  • Replaces any mention of "Iraq" with "My Pants"


It's set up to run on every page you visit, and it will break links various things, like if links contain any of the key phrases, so you probably don't want to keep it enabled all the time. But when the news is getting you down, turn it on for a new perspective.

Example...
http://www.whitehouse.gov/news/releases/2007/01/20070110-7.html
"THE PRESIDENT: Good evening. Tonight in My Pants, the Armed Forces of the United States are engaged in a struggle that will determine the direction of the global War on Pants -- and our safety here at home. The new strategy I outline tonight will change America's course in My Pants, and help us succeed in the fight against terror."

Get it here: War-on-Pants.user.js
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

May 2017

S M T W T F S
 123456
789 10111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 02:35 am
Powered by Dreamwidth Studios