ciao,
andate a questo indirizzo
SITO
Penso di aver protetto il codice html da una possibile copiatura.
vorrei che voi lo testaste. Riuscite a visualizzare il codice?
Se si mi dite come avete fatto? io non ci sono riuscito...ciao
ciao,
andate a questo indirizzo
SITO
Penso di aver protetto il codice html da una possibile copiatura.
vorrei che voi lo testaste. Riuscite a visualizzare il codice?
Se si mi dite come avete fatto? io non ci sono riuscito...ciao
Il codice per caso è questo?
codice:<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#000000" text="#000000" onContextMenu="return false;"> <script language="JavaScript"> <!-- var x,y, h, w, dw, dh; dw = 0; dh = 0; w = 10; h = 10; //alert(screen.updateInterval) x=Math.round((screen.width-w)/2); y = (screen.height==600) ? 0 : Math.round((screen.height-h)/2); //alert('- ' + document.body.clientHeight + ' : ' + self.size.height) self.moveTo(x, y) self.resizeTo(w, h) self.focus() // --> </script> <script> window.open("home.htm", "win", "width=650,height=760,resizable=no"); </script> </body> </html>
?
Ah, mi sono dimenticato l'altra pagina, home.htm. E' per caso questa?
codice:<html> <head> <title>StarGAMES</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- var x,y, h, w, dw, dh; dw = 0; dh = 0; w = 650; h = 700; //alert(screen.updateInterval) x=Math.round((screen.width-w)/2); y = (screen.height==600) ? 0 : Math.round((screen.height-h)/2); //alert('- ' + document.body.clientHeight + ' : ' + self.size.height) self.moveTo(x, y) self.resizeTo(w, h) self.focus() // --> </script> <script language="JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> </script> </head> <body bgcolor="#000000" text="#0066FF" link="#0066FF" vlink="#0066FF" alink="#0066FF" onContextMenu="return false;"> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"> <tr> <td valign="middle" align="center"> <table width="500" border="0" cellspacing="0" cellpadding="0" height="520"> <tr> <td valign="middle" align="center"> <table width="400" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="400" border="0" cellspacing="0" cellpadding="0" background="immagini/sfondo.gif" bgcolor="#000066" height="500"> <tr> <td width="10">[img]immagini/quadrato_20x20_verde.gif[/img]</td> <td width="379">[img]immagini/barra_199x20_verde.gif[/img]</td> <td width="11">[img]immagini/quadrato_20x20_verde.gif[/img]</td> </tr> <tr> <td width="10">[img]immagini/quadrato_20x20_verde.gif[/img]</td> <td width="379" valign="bottom" align="center"> <center> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <center> <font face="Tahoma" size="4" color="#0000FF">StarGames</font> <font face="Tahoma" size="2" color="#0000FF">expirience</font> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="32"> <tr> <td></td> </tr> </table> </center> </td> </tr> </table> <table width="400" border="0" cellspacing="0" cellpadding="0"> <tr> </tr> </table> <table width="400" border="0" cellspacing="0" cellpadding="0"> <tr> <td>[img]immagini/barra_199x20_verde.gif[/img]</td> </tr> </table> <table width="400" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="middle"> <center> <font color="#00FF00" size="2" face="Tahoma"> </font> </center> <center> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>[img]immagini/barra_199x20_verde.gif[/img]</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="7"> <center> <font face="Tahoma" size="3" color="#00FFFF"><font color="#0066FF">MENU</font></font> </center> </td> </tr> <tr> <td> <center> <font face="Tahoma" size="2" color="#0066FF">Arcade</font> </center> </td> <td> <center> <font face="Tahoma" size="2" color="#0066FF">Rpg</font> </center> </td> <td> <center> <font size="2" face="Tahoma" color="#0066FF">Email</font> </center> </td> <td> <center> <font size="2" face="Tahoma" color="#0066FF">link</font> </center> </td> <td> <center> <font size="2" face="Tahoma" color="#0066FF">Utility</font> </center> </td> <td> <center> <font size="2" face="Tahoma" color="#0066FF">News</font> </center> </td> <td> <center> <font size="2" face="Tahoma" color="#0066FF">Tornei</font> </center> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> </tr> </table> </center> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="228"> <tr> <td valign="top"> <center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="379" height="250" align="middle"> <param name="WMode" value="Transparent"> <param name="Menu" value="0"> <param name=movie value="banner1.swf"> <param name=quality value=high> <param name="SCALE" value="noborder"> <embed src="banner1.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="379" height="250" scale="noborder" align="middle"> </embed> </object> </center> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="108" valign="bottom"> <center> </center> </td> </tr> </table> <font color="#0000FF" size="2" face="Tahoma">Amministrazione</font> </center> </td> <td width="11">[img]immagini/quadrato_20x20_verde.gif[/img]</td> </tr> <tr> <td width="10">[img]immagini/quadrato_20x20_verde.gif[/img]</td> <td width="379">[img]immagini/barra_199x20_verde.gif[/img]</td> <td width="11">[img]immagini/quadrato_20x20_verde.gif[/img]</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </body> </html>
E' bastato creare un file html dove ho messo il tag
prova
E una volta aperta la pagina, ho fatto tasto destro sul link e ho cliccato su "salva oggetto con nome".
Come vedi è (almeno per ora ) impossibile proteggere il codice.
mi sembra che dal menu.htm non sia possibile reperire la sua url, quindi la devi aver vista da index.htm . quindi basterebbe nascondere quel link? magari utilizzando uno script latoserver tipo php? ..che indirizzi la pagina ma non stampi fisicamente il percorso nel client.
che sia possibile? fatto questo dovrebbe essere protetta?
Una curiosità: perchè stai cercando di nascondere il codice?
Originariamente inviato da superbau
mi sembra che dal menu.htm non sia possibile reperire la sua url, quindi la devi aver vista da index.htm . quindi basterebbe nascondere quel link? magari utilizzando uno script latoserver tipo php? ..che indirizzi la pagina ma non stampi fisicamente il percorso nel client.
che sia possibile? fatto questo dovrebbe essere protetta?
Ho applicato lo stesso metodo per tutte e due le pagine. Inoltre il trucchetto di ridurre le dimensioni della finestra a 1x1 pixel non serve, poichè c'è la possibilità del resize.