Search
Lori MacVittie - Two Different Socks
You are here: DevCentral > Weblogs

posted on Friday, August 08, 2008 3:59 AM

notablog

With apologies to René Magritte

 

Did you know you could stop the treachery that is Rickrolling hyperlinks with an iRule? Just search your outbound HTML for the appropriate YouTube URLs (you may need a data group to store them all) and strip them out, or search your inbound posts for the URLs and refuse to post them.

Of course you could also write an iRule that automatically changes every submitted URL to be a rickroll, but man, that's evil! Maybe you just want to do it for a specific user. You can do that with iRules if your site uses cookies to identify users by id or name. Just check the cookie and if you find the right user, fire off the appropriate iRule code to replace the URLs before it's posted.

It would still be evil. But it would be funny evil, if you know what I mean.

Follow me on Twitter View Lori's profile on SlideShare AddThis Feed Button Bookmark and Share


Posted In: Randomness, iRules,

Feedback

8/8/2008 7:16 AM
Gravatar That's a great idea! I hadn't thought of using iRules for a prank. Just don't freak out when the next April 1 comes around B-).

-Joe
Joe Pruitt
8/14/2008 1:12 PM
Gravatar Heh back when there was a bigpipe command to control the LED's on the old BIG-IP chassis I thought about writing a fun little script to drop in cron that would randomly make various lights blink red <grin>.
Denny Payne

Let Me Know What You Think


Please use the form below if you have any comments, questions, or suggestions.

Title:
 
Name:
 
Email: (so we can show your gravatar)
Website:
Comment: Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
 
Please add 5 and 8 and type the answer here:

Blog Stats

Posts:979
Comments:1685
Stories:0
Trackbacks:583
  

Image Galleries

  

Application Delivery

  

Cloud Computing

  

Random

  

Security

  

Chat Catcher

82,243 Members in 102 Countries and Growing!

Join DevCentral Today!

About DevCentral

DevCentral has been a successful, thriving community for many years. We have always strived to bring you the best technical documentation, discussion forums, blogs, media and much more that we can.

So dive in, get familiar with DevCentral. We hope you like it, we hope it makes your job easier, and lets you get that much more power out of the community. To learn more, make sure to check out the Getting Started section. And if you have any problems, or think something could be easier to use, drop us a line to let us know.

Got It !

We've received your comment and transmitted it directly to DevCentral HQ.

Thanks for taking time to let us know what's on your mind. At DevCentral | Community Matters!

Get In Touch With Us

Have questions, suggestions or just want to get something off your chest?

Use our handy form below to Direct Connect with DevCentral Mission Control.

Send Us Feedback       or