This jQuery plugin helps you "Design for Emotion" by turning one lucky link on any page into a Rickroll.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
example.html
jquery.rickroll.js

README.md

jQuery RickRoll plugin v3.1.88.5rc12b

What is it?

Enhance the UX of any website or app by randomly Rickrolling your users!

BONUS: A bonus feature for those who roll with IE.

Usage

The following will randomly pick one link and turn it into a rickroll link.

$("a:visible").rickroll();

License

(The BSD/MIT APACHE License, 1999 version)*

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, RICKROLLING OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.