How can I hide iframe code in webpage source code?

Discussion in 'Other' started by d.crozier7, Sep 3, 2012.

  1. d.crozier7

    d.crozier7 Very Active Members

    Joined:
    May 9, 2011
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    U.S.
    I am using iframes for many different things, hidden iframes mostly. But I need to know how or if it is possible to not only make an iframe not visible in the webpage as I know how to do that already. But how can I make the iframe code not visible in my webpage source code?

    Any help or suggestions very much appreciated.

    Thanks in advanced,
    David
     
  2. crasymys

    crasymys Make Money Online Very Active Members

    Joined:
    Jan 18, 2011
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    0
    Hi there.... As I know you cant hide but can disable copy and right click of mouse so no one can see the source code... use this below code in the bogy tag...


    body bottomMargin=0 leftMargin=0 topMargin=0 rightMargin=0 marginheight="10" marginwidth="0" oncopy="return false;" oncontextmenu="return false;"
     
  3. ImNewHere

    ImNewHere VIP MAKES ME MONEY

    Joined:
    Jul 21, 2011
    Messages:
    358
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    South Africa
    Also to make things clear... I am assuming you are talking about colours etc.

    Also look at no scrollers also you can put it in a DIV then make a nice CSS border around the div so it looks if it belongs there.

    or do you want to hide the <iframe> code from the page itself ?

    Good Luck
     
  4. Hindenburg

    Hindenburg New Member

    Joined:
    Aug 26, 2012
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Hey,

    there is no way to completly hide your source code. If there wouldn't be any way how it could be read, how should the browser parse the code and show you the site?

    Whatever. Maybe a simple JavaScript-Encryption would be enough for your problem.

    You should have a look at this website:
    HTML Encrypter - iWEBTOOL.com
     
  5. RightThere

    RightThere New Member

    Joined:
    Sep 5, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Awesome. Finally got it.
     
  6. d.crozier7

    d.crozier7 Very Active Members

    Joined:
    May 9, 2011
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    U.S.
    That works perfectly, this is exactly what I needed to keep those prying eyes from finding my methods :p
     
  7. TZ-

    TZ- Make Money Online Very Active Members

    Joined:
    Sep 2, 2010
    Messages:
    190
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Dominican Republic
    It can "stop" people with basic or no knowledge at all, but anyone who is capable to use debugger console in firebug or online javascript debugger like http://jsbin.com/ can easily see the code , for example

    Code:
    document.write(unescape('%48%69%64%65%20%61%6C%6C%20%79%6F%75%72%20%48%54%4D%4C%20%73%6F%75%72%63%65%20%63%6F%64%65%20%73%69%6D%70%6C%79%20%77%69%74%68%20%74%68%69%73%20%68%74%6D%6C%20%65%6E%63%72%79%70%74%65%72%2E%20%50%72%65%76%65%6E%74%20%79%6F%75%72%20%63%6F%64%65%20%66%72%6F%6D%20%62%65%69%6E%67%20%73%74%6F%6C%65%6E%20%62%79%20%6F%74%68%65%72%20%77%65%62%6D%61%73%74%65%72%73%2E%20%35%36%79%36%37%79%36'));
    decoding to

    Code:
    Hide all your HTML source code simply with this html encrypter. Prevent your code from being stolen by other webmasters. 56y67y6
     

Share This Page