regex Tag Archive

Open Links to a Different Site in a New Window with Prototype


Using the JavaScript library Prototype I can easily make any external links open in a new window, as well as change the rel=”external” links to open in a target=”_blank” window!

Popularity: 70% [?]

From Query String to Cookie with JavaScript


Take a query string and save the values to a cookie using JavaScript. A perfect solution for tracking query string’s values throughout a site that isn’t using any server side scripting.

Popularity: 16% [?]