|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can someone help me write a string of JS that will add 300 or so lines to my Source code so that when people view source they see a white screen?
I know the intelligent among us will scroll down to see the source, but I am hoping to put a stop to people copying my meta tags and other source, at least for a time. I am having trouble with the script I am trying to write, and any help would be appreciated! Thank you! Wendy |
|
#2
|
||||
|
||||
|
With this software you can encrypt your source code, so even it they can see it, they can't understand it.
Encrypt HTML Software |
|
#3
|
|||
|
|||
|
Thank you very much, Memnoch, but unfortunately I cannot use an encryption service. I have wholesalers who are buying product from me, and they need to be able to right click and download merchandise pictures, etc.
I am only trying to disguise my source code - I don't want them using the same keywords, meta tags, etc., that I am. The only way I have found to do this is with JS code that will add about 200 blank lines above the actual source code - this makes a user think the page is blank when they View Source. Thank you for taking the time to reply - |
|
#4
|
|||
|
|||
|
I dont no the exact code in Javascript but this works really well. You have got me interested tho. So i might have to look it up. Let me no if you can use this...
create a seperate file myJavaScript.php and inside that file have something like this: <?PHP if ($HTTP_REFERRER == "mySite"){ ?> my javaScript functions <?PHP } else echo "Dont Look at me!"; ?> Then in your web page use<SCRIPT src="myJavaScript.php"></SCRIPT> This works really well!!! It could also possible be converted... --------------------------------------------------------------------------- Or you could place your meta tags in an include file.????? Cheers Last edited by Eye_movement : November 28th, 2003 at 06:32 AM. |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Need help with code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|