Need help? Check out our Support site, then

What is this code doing in a blog

  1. celebrityphotosonline

    I have a blog ( and I found this code in a blog ( which references my site:
    <script type="text/javascript">
    function showNav(el) { el.getElementsByTagName('UL')[0].style.left='auto'; }
    function hideNav(el) { el.getElementsByTagName('UL')[0].style.left='-999em'; }
    function pressthis(step) {if (step == 1) {if(navigator.userAgent.indexOf('Safari') >= 0) {Q=getSelection();}else {if(window.getSelection)Q=window.getSelection().toString();else if(document.selection)Q=document.selection.createRange().text;else Q=document.getSelection().toString();}} else {location.href=''+encodeURIComponent(Q.toString())+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title);}}

    I thought selling products and inserting script on was not allowed? However I am mostly worried about what that script does and why my site is referenced in it. Thanks for any help.

  2. The script code is part of the admin bar. You're seeing your blog URL there because you're logged in.

Topic Closed

This topic has been closed to new replies.

About this Topic