HTML - Disable View Source
is there a way that i can disable view source?
Similar TutorialsHi everyone does anyone know whats up withe the new look view source up the page options .......I can't seem to edit or add to my html sources as I usually can? Thanks! In View Source, why do some pieces of text appear as red? Are they highlighting an error? Was wondering if someone could look at this website and tell me what platform you are viewing from and is anything visibly wrong? http://voyageurwd.com/londonJeepClub.htm I made my own web site... www.mar-cela.com howver, when I open it with Explorer I cant see my jpg images, when I open it with Firefox all is ok. Any suggestions? Hi, Is there eny way of hiding the source of my website If there is please reply. Thanks http://www.planetcellinc.com Just the home page, if you could spare a minute to view the source. I would like to get some comments on the quality (or lack thereof) of this code. Any and all comments are appreciated. Thanks, Jeff Is there a code that makes it so that you can only view a page once per day. I'd like it to kinda be Jscript, so if you don't have it enabled, you can't view the page. Remember, ONE VIEW PER DAY!! And if you've already viewed it, can you make it redirect the person to a url address? Thanks. Hello I have a website with coding for a login and registration page.....I was able to get the login to work but the registation I am yet to figure out....but now when I go to my website and click on a link no matter what link it is it always makes me go to the login page.....any ideas why this is happening? Hello, it seems every now and then when I create an image from a document/scan or such and I upload it, It displays fine in FireFox, however users in IE are reporting that they're not seeing the image. Can anyone take look at this image and tell me if you see this displaying in IE? http://thejf.org/images/JCC124.jpg Is this an IE bug or something? How come this image appears fine in FireFox but not IE? Hey all.. Is it possible to have the browser resize the src inside an iframe? I'm loading up a website in an iframe, and it's just a tad larger then what I have room for in my content area.. I know that I can restrict the size of the frame itself, but then I'm left with those nasty scroll bars.. Thanks David i created a password protected forum to mess around with, but I've learned that if you just hit View Source its pretty obvious that the <var password=...> will tell you the password. Now ik that you can do these crappy encodings that would slow down getting the password by about 2 minutes but is there anything out there that will actually STOP people from viewing the source code indefinately? P.S. My Code: HTML Code: <b><font color=red><font size=5>WINTER IS COMING: HENCE THE SNOWFLAKES</center></b> <html> <body background="http://thenetworkstation.net/custom/bg-long.jpg"> <font size=3> <head> <script language="javascript"> <!-- function PlanA() { var password = "1883" var pass = prompt("Please Enter The Password To Gain Access To The Site"," ") if (pass.toLowerCase() == password) { window.location = "http://hiddenforum.darkbb.com/correct-password-h3.htm"; } else { window.location = "http://hiddenforum.darkbb.com/wrong-password-h2.htm"; } } --> </script> </head> <body> <p><center> <marquee behavior=alternate width="250" scrollamount="7" scrolldelay="96" height="20" bgcolor="#E0FFFF"><font size="3">Welcome to the Hidden Forum </font></marquee> <font color="white"> The Password Changed Regularly So Be On Regularly To Be Notified Before A Change</center></p> <p><center>If You Get The Password Correct Then You Will Be Redirected To A Forum. <center><a href="#" onClick="PlanA(); return false">Click Here To Enter Password</a></center> <p><center>Please Take A Moment To Visit My Other Forum: <p><a href="http://www.tastymods.net/" target="_blank">TastyMods.net a Game Console Modding Forum</a></right> </body> <center><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Ig74Ca-9zXQ?fs=1&%3Bhl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Ig74Ca-9zXQ?fs=1&%3Bhl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></center> </body> <!-- begin htmlcommentbox.com --> <div id="HCB_comment_box"><a href="http://www.htmlcommentbox.com">HTML Comment Box</a> is loading comments...</div> <link rel="stylesheet" type="text/css" href="http://www.htmlcommentbox.com/static/skins/simple/skin.css" /> <script type="text/javascript" language="javascript" id="hcb"> /*<!--*/ (function(){s=document.createElement("script");s.setAttribute("type","text/javascript");s.setAttribute("src", "http://www.htmlcommentbox.com/jread?page="+escape((typeof hcb_user !== "undefined" && hcb_user.PAGE)||(""+window.location)).replace("+","%2B")+"&opts=406&num=10");if (typeof s!="undefined") document.getElementsByTagName("head")[0].appendChild(s);})(); /*-->*/ </script> <!-- end htmlcommentbox.com --> <script> // Set the number of snowflakes (more than 30 - 40 not recommended) var snowmax=35 // Set the colors for the snow. Add as many colors as you like var snowcolor=new Array("#aaaacc","#ddddFF","#ccccDD") // Set the fonts, that create the snowflakes. Add as many fonts as you like var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS") // Set the letter that creates your snowflake (recommended:*) var snowletter="*" // Set the speed of sinking (recommended values range from 0.3 to 2) var sinkspeed=0.6 // Set the maximal-size of your snowflaxes var snowmaxsize=22 // Set the minimal-size of your snowflaxes var snowminsize=8 // Set the snowing-zone // Set 1 for all-over-snowing, set 2 for left-side-snowing // Set 3 for center-snowing, set 4 for right-side-snowing var snowingzone=3 /////////////////////////////////////////////////////////////////////////// // CONFIGURATION ENDS HERE /////////////////////////////////////////////////////////////////////////// // Do not edit below this line var snow=new Array() var marginbottom var marginright var timer var i_snow=0 var x_mv=new Array(); var crds=new Array(); var lftrght=new Array(); var browserinfos=navigator.userAgent var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/) var ns6=document.getElementById&&!document.all var opera=browserinfos.match(/Opera/) var browserok=ie5||ns6||opera function randommaker(range) { rand=Math.floor(range*Math.random()) return rand } function initsnow() { if (ie5 || opera) { marginbottom = document.body.clientHeight marginright = document.body.clientWidth } else if (ns6) { marginbottom = window.innerHeight marginright = window.innerWidth } var snowsizerange=snowmaxsize-snowminsize for (i=0;i<=snowmax;i++) { crds[i] = 0; lftrght[i] = Math.random()*15; x_mv[i] = 0.03 + Math.random()/10; snow[i]=document.getElementById("s"+i) snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)] snow[i].size=randommaker(snowsizerange)+snowminsize snow[i].style.fontSize=snow[i].size snow[i].style.color=snowcolor[randommaker(snowcolor.length)] snow[i].sink=sinkspeed*snow[i].size/5 if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size) snow[i].style.left=snow[i].posx snow[i].style.top=snow[i].posy } movesnow() } function movesnow() { for (i=0;i<=snowmax;i++) { crds[i] += x_mv[i]; snow[i].posy+=snow[i].sink snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i]); snow[i].style.top=snow[i].posy if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){ if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} snow[i].posy=0 } } var timer=setTimeout("movesnow()",50) } for (i=0;i<=snowmax;i++) { document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>") } if (browserok) { window.onload=initsnow } </script> <BGSOUND SRC="http://www.maximumdonline.com/themes/benhill.wav"> </Script> <Ray: ><DIBBLE DONT TOUCH THE LINK BELOW> <Dib: ><LOL I WAS GOING TO DELETE> <Ray: ><If you ever decide to encrypt this page as well never encrypt that link either> <Dib: ><LOL - leave it un-encrypted but hide the password from the HTML so no 1 can see it through the source and no 1 will be able to crack!> <Ray: ><You wanna do that? coz i have no idea. lol.> <font size=0><a href="http://www.forumotion.com" target="_blank">forumotion.com</a> 1. I am having the JSP page which uses some css files . 2. i just want to avoid the scroll bar if content of my page is more . 3. How can i do that? Is there anyway to disable hotlinking on a windows based server? hello I have the following code in the same html Code: <script language="JavaScript" src="..........111........."></script> <script language="JavaScript" src="...........222.........."></script> they bot have onclick links, i would like to disable only the first one link. How can i do that ? Thank you this might be a stupid question, but what would the coding be to disable right click on my page? thanks. Ok I need to dis-able a sign up button for right now, what can I do to it to just disable/remove from everyones view? </tr> <tr class="button"> <td style="text-align: center;" colspan="2"> <div class="buttons" style="font-size: 18px; padding: 15px 10px; margin-left: 10px;"><a href="/sign_up.html" title="Click here to Sign Up Now!">Click here to Sign Up Now!</a></div> </td> watz wrong i want to choose the radio box and enable the text box otherwise it should be disabled Code: <html> <head> <script> function ena(){ if (document.yes.base[0].checked) {document.yes.one.disabled=false;} if (document.yes.base[1].checked) {document.yes.two.disabled=false;} } </script> <form name="yes"> <INPUT TYPE="radio" name="base" ><font color="red" onclick=ena();> *SUPREME* Pepperoni, spicy beef, mushrooms, green peppers and red onions. </font> <p> <INPUT TYPE="radio" name="base" ><font color="Green" onclick=ena();> *Vegetarian Hot One* Double green chillies, green peppers, red onions and tomato chunks. </font> <p> <input type=text name="one " disabled> <p> <input type=text name="two" disabled> </form> </html> </head> There has to be like a 1-line-of-code process for this...anyone know how to do it? I have a band in which I made a banner for. Here is an example HTML Code: <a href="http://www.myspace.com/goodbyesunshinetheband"><img src="http://www.jacobkelleydesigns.com/myspace/profiles/goodbyesunshine/bannerrect.gif" alt="" border="0" /></a> Is there any PHP or HTML Script I can use to view how many pages contain that code or image? Preferably on myspace, I'd like to see how many people use our banners. Hope I made any sense, hehe -Jacob hi i have a bit of a problem i am making a website with html and css and when i want to view it in mozilla i only get the text and when i open it in ie6 i see my whole stylesheet i dont get it html Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Visual Basic Tutorials</title> <link rel="stylesheet" "type=text/css" href="style.css" /> </head> <body> <div class="spacer"></div> <div id="wrapper"> <div class="banner"> <img src="dat.png" /> </div> <div class="tekst" id="links"> <div>Main content </div> <hr /> <div class="textboxes"> <div class="textboxspacertitle"> <h3>Title</h3> </div> <hr /> <div class="textboxspacertext"> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> </div> </div> <div class="textboxes"> <div class="textboxspacertitle"> <h3>Title</h3> </div> <hr /> <div class="textboxspacertext"> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> </div> </div> </div> <div class="menu" id="rechts"> <div class="menuspacer"> <h3>Navigation</h3> </div> <hr /> <div class="menuspacer"> <div class="list"> <ol> <li><a href="Index.html">Home</a></li> <li><a href="Tutorials.html">Tutorials</a></li> <li><a href="Downloads.html">Downloads</a></li> <li><a href="Links.html">Links</a></li> <li><a href="Contact.html">Contact</a></li> </ol> </div> </div> </div> </div> <div class="spacerbottom"> Copyrights by: Kevin 2008 </div> </body> </html> css: Code: *{ margin: 0; padding: 0; } body{ font-family: arial; color: #333; size: 12px; background: #ddd; } .spacer{ height: 1.8em; display: block; } #wrapper{ background: #eee; width: 800px; height: 900px; margin-bottom: 20px; margin: 0 auto; border: 1px solid #999; } .banner{ background: #bbb; border:2px solid #999; height: 98px; width: 717px; margin-left: 40px; margin-top: 50px; vertical-align: middle; } .tekst{ border: 2px solid #999; height: 700px; width: 500px; background: #bbb; min-height: 700px !important; } .menu{ border: 2px solid #999; width: 200px; background: #bbb; } #links{ float: left; margin-left: 20px; margin-top: 25px; } #rechts{ float: right; margin-right: 20px; margin-top: 25px; } a:hover{ text-decoration: underline; } a{ text-decoration: none; color: #000; } .menuspacer{ margin: 15px 15px 15px 15px; } .textboxes{ border: 2px solid #999; margin-left: 25px; margin-right: 25px; margin-top: 15px; height: 200px; background-color: #ddd } .textboxspacertitle{ margin-left:10px; margin-top: 15px; } .textboxspacertext{ margin-left:10px; margin-top: 5px; margin-bottom: 10px; } .spacerbottom{ height: 1.8em; display: block; text-align:center; } img{ border: 1px solid #999 } |