What is this code doing in a wordpress.com blog

  • Author
  • #400771

    I have a wordpress.org blog (celebrityphotosonline.biz) and I found this code in a wordpress.com blog (thepooterpooter.wordpress.com) 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=’http://celebrityphotosonline.biz/wp-admin/post-new.php?text=’+encodeURIComponent(Q.toString())+’&popupurl=’+encodeURIComponent(location.href)+’&popuptitle=’+encodeURIComponent(document.title);}}

    I thought selling products and inserting script on wordpress.com 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.



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

The topic ‘What is this code doing in a wordpress.com blog’ is closed to new replies.