473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Lock Source Code in HTML/CSS!

1
This can really lock down the source code of HTML/CSS Templates online.


Copy & paste the script inside body...

<script language=JavaScript>m='%3Cscript%20language%3DJava Script%3E%3C%21--%0D%0A%0D%0Avar%20message%3D%22Please,%20be cool%21%22%3B%0D%0A%0D%0Afunction%20clickIE%28%29% 20%20%7Bif%20%28document.all%29%20%7Balert%28messa ge%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20cl ickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C %7C%28document.getElementById%26%26%21document.all %29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.wh ich%3D%3D3%29%20%7Balert%28message%29%3Breturn%20f alse%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%2 0%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN %29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Ael se%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncon textmenu%3DclickIE%3B%7D%0D%0A%0D%0Adocument.oncon textmenu%3Dnew%20Function%28%22return%20false%22%2 9%0D%0A%0D%0A//%20--%3E%3C/script%3E';d=unescape(m);document.write(d);</script>

And try out..

Any comments and suggestions are acceptable.

If you have some more then please post them.

Thanks
Aug 23 '07 #1
0 3265

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: M.E.Farmer | last post by:
Hello c.l.py!, I have just finished this and decided to share. PySourceColor is a module to convert Python source into colored html. Yes it has been done before, but I like this better:) You can...
13
by: Mike | last post by:
Apparently there is now a way to hide html source code. How it done? For example see: See http://www.eteamz.com/banksblaze/
25
by: Sune A | last post by:
Hi All! I'm having problems with www.suneworld.com The thing is that I'd like to lock the width of the page, so that it won't adjust dynamically. Any CSS people out there that can help me? ...
1
by: Robert | last post by:
I have a large web site converted from 1.1 to 2.0 and in VS 2005, the IDE complains that in the ASPX file (html source): Error 1 Element 'stylesheet' is not a known element. This can...
6
by: Matt Trivisonno | last post by:
Hi Everybody, If I were to use Komodo to write in Python, would it add a lot of goo to my code such that I would not be able to switch to another IDE without having to claw my way out of a...
14
by: Steve | last post by:
I have just installed Apache 2.2 and PHP 5.1.4 on my Win XP Pro machine. If I run phpinfo(), it displays everything correctly. However, on a page where I have included a file that contains some...
0
by: cwho.work | last post by:
Hi! We are using apache ibatis with our MySQL 5.0 database (using innodb tables), in our web application running on Tomcat 5. Recently we started getting a number of errors relating to...
1
by: graphicguru | last post by:
Hi i got some javascript from (*) these site for lock one column with js and header row with css. i am not a programmer i am a designer. i am working in a small company. i don't find such...
3
by: ddailey | last post by:
The code which follows is something I cobbled together quite hastily to display to students a way of illustrating HTML source code (including CSS and JavaScript) alongside a page as rendered. I've...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.