What does this stuff mean?

Discussion in 'CSS' started by LennyP, Sep 21, 2006.

  1. #1
    What does this stuff mean? It wasnt in my tempolate before I started having problems.

    <body><!-- --><div id="flagi" style="visibility:hidden; position:absolute;" onmouseover="showDrop()" onmouseout="hideDrop()"><div id="flagtop"></div><div id="top-filler"></div><div id="flagi-body">Notify Blogger about objectionable content.<br /><a href="http://help.blogger.com/bin/answer.py?answer=1200"> What does this mean? </a> </div></div><div id="b-navbar"><a href="http://www.blogger.com/" id="b-logo" title="Go to Blogger.com"><img src="http://www.blogger.com/img/navbar/3/logobar.gif" alt="Blogger" width="80" height="24" /></a><div id="b-sms" class="b-mobile"><a href="sms:?body=Hi%2C%20check%20out%20LennyP%27s%20Blog%20About%20Whatever%20at%20lennypwhatever.blogspot.com">Send As SMS</a></div><form id="b-search" name="b-search" action="http://search.blogger.com/"><div id="b-more"><a href="http://www.blogger.com/" id="b-getorpost"><img src="http://www.blogger.com/img/navbar/3/btn_getblog.gif" alt="Get your own blog" width="112" height="15" /></a><a id="flagButton" style="display:none;" href="javascript:toggleFlag();" onmouseover="showDrop()" onmouseout="hideDrop()"><img src="http://www.blogger.com/img/navbar/3/flag.gif" name="flag" alt="Flag Blog" width="55" height="15" /></a><a href="http://www.blogger.com/redirect/next_blog.pyra?navBar=true" id="b-next"><img src="http://www.blogger.com/img/navbar/3/btn_nextblog.gif" alt="Next blog" width="72" height="15" /></a></div><div id="b-this"><input type="text" id="b-query" name="as_q" /><input type="hidden" name="ie" value="UTF-8" /><input type="hidden" name="ui" value="blg" /><input type="hidden" name="bl_url" value="lennypwhatever.blogspot.com" /><input type="image" src="http://www.blogger.com/img/navbar/3/btn_search_this.gif" alt="Search This Blog" id="b-searchbtn" title="Search this blog with Google Blog Search" onclick="document.forms['b-search'].bl_url.value='lennypwhatever.blogspot.com'" /><input type="image" src="http://www.blogger.com/img/navbar/3/btn_search_all.gif" alt="Search All Blogs" value="Search" id="b-searchallbtn" title="Search all blogs with Google Blog Search" onclick="document.forms['b-search'].bl_url.value=''" /><a href="javascript:BlogThis();" id="b-blogthis">BlogThis!</a></div></form></div><script type="text/javascript"><!--

    var ID = 33766964;var HATE_INTERSTITIAL_COOKIE_NAME = 'dismissedInterstitial';var FLAG_COOKIE_NAME = 'flaggedBlog';var FLAG_BLOG_URL = 'http://www.blogger.com/flag-blog.g?nav=3&toFlag=' + ID;var UNFLAG_BLOG_URL = 'http://www.blogger.com/unflag-blog.g?nav=3&toFlag=' + ID;var FLAG_IMAGE_URL = 'http://www.blogger.com/img/navbar/3/flag.gif';var UNFLAG_IMAGE_URL = 'http://www.blogger.com/img/navbar/3/unflag.gif';var ncHasFlagged = false;var servletTarget = new Image();

    function BlogThis() {Q='';x=document;y=window;if(x.selection) {Q=x.selection.createRange().text;} else if (y.getSelection) { Q=y.getSelection();} else if (x.getSelection) { Q=x.getSelection();}popw = y.open('http://www.blogger.com/blog_this.pyra?t=' + escape(Q) + '&u=' + escape(location.href) + '&n=' + escape(document.title),'bloggerForm','scrollbars=no,width=475,height=300,top=175,left=75,status=yes,resizable=yes');void(0);}

    function blogspotInit() {initFlag();}

    function hasFlagged() {return getCookie(FLAG_COOKIE_NAME) || ncHasFlagged;}

    function toggleFlag() {var date = new Date();var id = 33766964;if (hasFlagged()) {removeCookie(FLAG_COOKIE_NAME);servletTarget.src = UNFLAG_BLOG_URL + '&d=' + date.getTime();document.images['flag'].src = FLAG_IMAGE_URL;ncHasFlagged = false;} else { setBlogspotCookie(FLAG_COOKIE_NAME, 'true');servletTarget.src = FLAG_BLOG_URL + '&d=' + date.getTime();document.images['flag'].src = UNFLAG_IMAGE_URL;ncHasFlagged = true;}}

    function initFlag() {document.getElementById('flagButton').style.display = 'inline';if (hasFlagged()) {document.images['flag'].src = UNFLAG_IMAGE_URL;} else {document.images['flag'].src = FLAG_IMAGE_URL;}}

    function showDrop() {if (!hasFlagged()) {document.getElementById('flagi').style.visibility = 'visible';}}

    function hideDrop() {document.getElementById('flagi').style.visibility = 'hidden';}

    function setBlogspotCookie(name, val) {var expire = new Date((new Date()).getTime() + 5 * 24 * 60 * 60 * 1000);var path = '/';setCookie(name, val, null, expire, path, null);}

    function removeCookie(name){var expire = new Date((new Date()).getTime() - 1000); setCookie(name,'',null,expire,'/',null);}

    --></script><script type="text/javascript"> blogspotInit();</script><div id="space-for-ie"></div>
     
    LennyP, Sep 21, 2006 IP
  2. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Well there's a lot of code there and each section means something different...
     
    MTbiker, Sep 21, 2006 IP
  3. LennyP

    LennyP Peon

    Messages:
    779
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Doesn't really matter anymore. I just redid my blog. But why did it say flag so much?
     
    LennyP, Sep 21, 2006 IP
  4. blis102

    blis102 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It output all the javascript on your page. The "flag" is part of the javascript
     
    blis102, Sep 23, 2006 IP
  5. penagate

    penagate Guest

    Messages:
    277
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi!

    It's rubbish, that's what it is. :) Bad, ugly, invalid code.

    Always run pages through the W3C HTML validator.

    Regards
    - P
     
    penagate, Sep 27, 2006 IP
  6. LennyP

    LennyP Peon

    Messages:
    779
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I was just wondering because I didn't write that. It was just there when I was trying to figure out why my blog was being all screwy.
     
    LennyP, Sep 27, 2006 IP
  7. Lightning-Software

    Lightning-Software Well-Known Member

    Messages:
    204
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Looks like a javascript dropdown navigation someone added or a program added. ANd there is some cookie calls, probably trying to see if a member is logged in and info stored in a cookie.
     
    Lightning-Software, Sep 27, 2006 IP
  8. Dextrone

    Dextrone Peon

    Messages:
    680
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #8
    That looks "scary"...try and change your passwords to your site...think you may have a trojan, etc on your computer....

    --Hope that doesn't happen again, the last time something like that happened to me......I can't imagine what happened...

    ("HATE_INTERSTITIAL_COOKIE_NAME" and 'dismissedInterstitial' looks suspicious)
     
    Dextrone, Feb 13, 2007 IP