1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google search in source code?

Discussion in 'Black Hat SEO' started by radkappe, Nov 3, 2010.

  1. radkappe

    radkappe Registered Member

    Joined:
    Jul 17, 2010
    Messages:
    59
    Likes Received:
    3
    Hello!

    Is it possible with some Google Hack to search in source code of the page? (HTML)

    Thanks
     
  2. blibli1

    blibli1 Newbie

    Joined:
    Oct 29, 2010
    Messages:
    26
    Likes Received:
    1
    I would also like to know this.. can be very useful
     
  3. vloza

    vloza Registered Member

    Joined:
    Apr 7, 2010
    Messages:
    74
    Likes Received:
    49
    Normally google will not index anything in the source code, but certain elements are indexed.

    For example title tags of all elements are indexed and alt tags of image elements are indexed too.
     
  4. radkappe

    radkappe Registered Member

    Joined:
    Jul 17, 2010
    Messages:
    59
    Likes Received:
    3
    Wouldn't it be cool to search for nofollow through scrapebox to sort them out in advance? *dreamin* hehe
     
  5. aftershock2020

    aftershock2020 Senior Member

    Joined:
    Oct 19, 2007
    Messages:
    981
    Likes Received:
    477
    http://www.google.com/codesearch

    I don't know if this is exactly what you are looking for but it is a place to start. It is a great resource from google. IT is only for gpl source code listings but you can find great source under these types of areas.


     
  6. radkappe

    radkappe Registered Member

    Joined:
    Jul 17, 2010
    Messages:
    59
    Likes Received:
    3
    Thanks. I knew this one before.

    I am actually trying to search through scrapebox for a custom source code footprint, so this isn't exactly what I meant.

    But thanks
     
  7. namewithnogaps

    namewithnogaps Junior Member

    Joined:
    Mar 28, 2010
    Messages:
    198
    Likes Received:
    74
    not possible
     
  8. experttalk

    experttalk Newbie

    Joined:
    Feb 4, 2011
    Messages:
    9
    Likes Received:
    0
    Home Page:
    Thanks aftershock
     
  9. Fxbob

    Fxbob Junior Member

    Joined:
    Feb 21, 2011
    Messages:
    154
    Likes Received:
    342
    I wrote a python script that does this, it goes through every page in the search result and scan it. It's multi-threaded so it can scan hundreds of pages in a few seconds, depending on bandwidth and cpu power.
     
  10. plight

    plight Newbie

    Joined:
    Jun 21, 2010
    Messages:
    11
    Likes Received:
    1
    This sounds cool. Would you mind sharing a copy with me?
     
  11. wu1239

    wu1239 Newbie

    Joined:
    Jun 4, 2011
    Messages:
    16
    Likes Received:
    0
    It seems "source code" you mean "html source code"?
    If so, as far as I know, it's impossible.
     
  12. randsamp

    randsamp Newbie

    Joined:
    Jan 2, 2010
    Messages:
    28
    Likes Received:
    5
    The only site I've found that offers an HTML source code search service is Globalogiq. Its not free but they do offer a free demo. Their index isn't as extensive as Google's but it works well for my purposes.
     
  13. combson

    combson Registered Member

    Joined:
    Aug 3, 2008
    Messages:
    55
    Likes Received:
    24
    Any New Solution around this?