Need help? Check out our Support site, then


What is this code doing in a wordpress.com blog

  1. celebrityphotosonline
    Member

    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);}}
    </script>

    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.

  2. The script code is part of the WordPress.com 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