HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 20th, 2003, 12:02 PM
WendyL WendyL is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 WendyL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Need help with code

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

Reply With Quote
  #2  
Old November 20th, 2003, 01:08 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,770 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 58 m 22 sec
Reputation Power: 469
With this software you can encrypt your source code, so even it they can see it, they can't understand it.

Encrypt HTML Software

Reply With Quote
  #3  
Old November 20th, 2003, 01:14 PM
WendyL WendyL is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 WendyL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 -

Reply With Quote
  #4  
Old November 28th, 2003, 06:28 AM
Eye_movement Eye_movement is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Doncaster, England
Posts: 1 Eye_movement User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool This may work 4 u

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.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Need help with code


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT