Club Penguin Archives

The Club Penguin Wiki Network was abandoned by its tech staff. This is a recreation of the original site. Your original CPWN account will not work here. Any issues, please contact Sky.

User:Lisured/common.js: Difference between revisions

From Club Penguin Archives
Jump to navigation Jump to search
imported>Lisured
Created page with "$('a[href^="/static/images/"]').each(function() {var s = $(this); s.after($('<sup><a href="' + s.prop('href') + '" style="color:#a3a3a2;">⌘</a></sup>'));})"
 
imported>Lisured
fixed link
 
Line 1: Line 1:
$('a[href^="/static/images/"]').each(function() {var s = $(this); s.after($('<sup><a href="' + s.prop('href') + '" style="color:#a3a3a2;">⌘</a></sup>'));})
$('a[href^="/static/images/"]').each(function() {var s = $(this); s.after($('<sup><a href="/wiki/File:' + s.prop('href').replace(/.*\/([^/]+)$/, '$1') + '" style="color:#a3a3a2;">⌘</a></sup>'));})

Latest revision as of 02:11, 27 October 2014

$('a[href^="/static/images/"]').each(function() {var s = $(this); s.after($('<sup><a href="/wiki/File:' + s.prop('href').replace(/.*\/([^/]+)$/, '$1') + '" style="color:#a3a3a2;">⌘</a></sup>'));})