User Tag List

Informational! Informational!:  0
Likes Likes:  0
Page 2 of 2 FirstFirst 12
Results 9 to 16 of 16

Thread: Weird code in my webpage..

  1. #9

    Join Date
    Jan 2009
    Posts
    1,672
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good luck man, hope you can get rid of it. I can see something like that getting annoying real quick!

  2. #10
    Let's positive thinking! seedjar's Avatar
    Join Date
    Dec 2004
    Location
    Olympia, Washington
    Posts
    4,064
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Maybe... I don't know of any way that YouTube would be able to rewrite your html documents as they're sent from a third-party server though. If it were scripts loaded by YouTube's Flash players, they wouldn't appear in the source of your document. They would be loaded on-the-fly after the actual html file was rendered. The originating server decides entirely what the content of your html will be, unless you're in some place like China where they monitor and scrub webpages as they're transmitted along intermediary servers.
    I just checked, and it's all still there.
    ~Joe
    o//~ Livin' like a bug ain't easy / My old clothes don't seem to fit me /
    I got little tiny bug feet / I don't really know what bugs eat /
    Don't want no one steppin' on me / Now I'm sympathizin' with fleas /
    Livin' like a bug ain't easy / Livin' like a bug ain't easy... o//~

  3. #11
    scottychaos's Avatar
    Join Date
    Aug 2001
    Location
    Western New York, USA
    Posts
    2,970
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by seedjar View Post
    I just checked, and it's all still there.
    ~Joe
    you were probably looking at the cached page..
    if you refresh, all the funky code should be gone..
    tomorrow I will add the youtube video back in, and see what happens..

    thanks,
    Scot

  4. #12
    Let's positive thinking! seedjar's Avatar
    Join Date
    Dec 2004
    Location
    Olympia, Washington
    Posts
    4,064
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hmm, strange, there must be a cache proxy on the network at my job. I was on different machines before and after noon. It indeed looks good now (or, at least, from here at home on my Comcast line.) So did it come back before you tried removing the YouTube stuff? I'm really curious to know how it all happened.
    ~Joe
    o//~ Livin' like a bug ain't easy / My old clothes don't seem to fit me /
    I got little tiny bug feet / I don't really know what bugs eat /
    Don't want no one steppin' on me / Now I'm sympathizin' with fleas /
    Livin' like a bug ain't easy / Livin' like a bug ain't easy... o//~

  5. #13
    scottychaos's Avatar
    Join Date
    Aug 2001
    Location
    Western New York, USA
    Posts
    2,970
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well it seems to be gone now..and its not coming back..

    here is what happened.

    1. Initally I had the page uploaded with an embedded youtube video, embedded in the page.

    2. months later, I noticed a LOT of javascript in the page! lines and lines of it..all something to do with yimg.com (yahoo) (MUCH more code than just the few lines of the youtube "embed code")

    the extra javascript was probably 30% of the total code!

    3. I deleted ALL the javascript..re-uploaded the page.

    4. all the javascript CAME BACK! all I code I deleted returned to the page..

    5. deleted all the script again, and removed the embedded youtube link.
    re-uploaded, extra code does not return.

    6. just now, minutes ago, I added just a link to the youtube video, re-uploaded..its still clean.

    I might try once more and RE-embed the video..or I might not bother..

    thanks,
    Scot

  6. #14
    Hello, I must be going... Not a Number's Avatar
    Join Date
    Nov 2006
    Location
    Los Angeles, CA
    Posts
    7,506
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    yimg.com are Yahoo's image servers, primarily flickr.

    Earlier this year (around June) China blocked sites, domains and addresses associated with Twitter, YouTube, HotMail, Flickr and others. This was because of the 20th anniversary of Tiananmen.

    It's is possible your page was hacked to serve as a proxy to reach flickr and YouTube.

    The other possibility is that you unknowingly picked up the code into your cut and paste buffer when editing the HTML and did not notice the unwanted code - easy to do if you are editing webpages in WYSIWYG mode.

    Odds are your page was hacked. The very least you should have done as soon as you were aware of this was to change your password and notify your hosting company so they can do a security audit of their servers and your webpages.
    Grand Hotel... always the same. People come, people go. Nothing ever happens.

  7. #15
    scottychaos's Avatar
    Join Date
    Aug 2001
    Location
    Western New York, USA
    Posts
    2,970
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Not a Number View Post
    The very least you should have done as soon as you were aware of this was to change your password and notify your hosting company so they can do a security audit of their servers and your webpages.
    already done!

    I just found the same/similar code in another page!

    http://gold.mylargescale.com/Scottychaos/NY-Alcos/

    This page has some messy tables in it..that I created years ago by converting excel sheets into HTML code..which I now know is a very messy way to create HTML code, but years ago when I made the page, I didnt know any better..I thought the "mystery code" might be from excel, but no..because:

    I have old versions of that page going back to 2005..

    2005 does not have code.
    2006 does not have the code..
    2007..clean..
    2008..clean..

    only this year's version of the page has the yimg code..hmmm..

    im not going to do anything with the NY Alcos page until I hear back from my web host..

    Scot

  8. #16
    Let's positive thinking! seedjar's Avatar
    Join Date
    Dec 2004
    Location
    Olympia, Washington
    Posts
    4,064
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hey, the javascript actually has readable white space in this one.
    The plot thickens - I was looking at the script and found an error at the beginning, right after the part where your stuff says, "ex Allied Chemical." There were a few characters missing from the first statement in the script, but when I opened the source in another window and looked again, it was gone. Very bizarre.
    ~Joe
    o//~ Livin' like a bug ain't easy / My old clothes don't seem to fit me /
    I got little tiny bug feet / I don't really know what bugs eat /
    Don't want no one steppin' on me / Now I'm sympathizin' with fleas /
    Livin' like a bug ain't easy / Livin' like a bug ain't easy... o//~

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Leet Code (fire fox)
    By nepenthes_ak in forum General Discussions
    Replies: 18
    Last Post: 09-19-2006, 12:40 PM
  2. The Geek Code
    By jimscott in forum General Discussions
    Replies: 9
    Last Post: 07-10-2006, 10:06 AM
  3. Replies: 0
    Last Post: 01-17-2006, 03:09 AM
  4. The real da vinci code
    By TheAlphaWolf in forum General Discussions
    Replies: 5
    Last Post: 08-14-2005, 08:14 AM
  5. Is tarnok a location code?
    By Nflytrap in forum Pitcher Plants: (Sarracenia, Heliamphora, Darlingtonia, Cephalotus)
    Replies: 4
    Last Post: 04-19-2004, 10:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •