Support » Fixing WordPress » Linking to bookmarklet

  • I’m trying to link to a bookmarklet in my post. The link I have looks like this:

    <a href="setTimeout('x99.focus()',300);var%20re=/([\/-]|is[bs]n=)(\d{7,9}[\dX])/i;if(re.test(location.href)==true){var%20isbn=RegExp.$2;''+isbn,'LibraryLookup','scrollbars=1,resizable=1,top=0,left=0,location=1,width=800,height=600');x99.focus();}">More links here</a>

    but the bookmarklet code keeps getting the blog url slpped in front of it some how (see below)'x99.focus()',300);var re=/([//-]%7Cis[bs]n=)(/d%7B7,9%7D[/dX])/i;if(re.test(location.href)==true)%7Bvar isbn=RegExp.$2;var''+isbn,'LibraryLookup','scrollbars=1,resizable=1,top=0,left=0,location=1,width=800,height=600');x99.focus();}}

    Could somebody help me figure out how to fix this?


Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Linking to bookmarklet’ is closed to new replies.