Last active
December 12, 2015 06:38
-
-
Save BinaryKitten/4730409 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var shortUrl = window.location.href.replace('@itm/./@gi','itm/'); | |
var item = jQuery('<tr><td class="vi-Vr-itemattrTh"><div class="itm_num_lbl">Shorter URL</div></td><td></td><td width="100.0%"> </td></tr>'); | |
item.find('td').eq(1).append($('<a>', { href: shortUrl, 'text': shortUrl })); | |
item.appendTo('#itemAttrCntr table'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment