-Sky-
Oct 16 2008, 05:55 PM
Hello people! Obviously a lot of people use these little scripts to stop you from right clicking on websites/HTML pages etc. I know many many people use near enough the same kind of coding as the one I just made. I decided not to put this in the Tutorials section because I know alot of other codes do exactly the same thing as this one I am going to be sharing with you! This code may be re-distributed if you wish. I have no copyright on it, but please put some kind of "Thanks for the no right-click script". Here it is: QUOTE oncontextmenu="return false" onselectstart="return true" ondragstart="return false"> This code must be placed below </head> and at <body>. So It's: QUOTE <body oncontextmenu="return false" onselectstart="return false" ondragstart="return false"> I am also going to add my News bar script here, for EVERYONE to use. I have decided It's not very good for me to only allow the use of it for just Trap17 and my site. Script Name: News Link Description of Script: This "News Link" script puts a header in the top middle of the board under "<% BOARD HEADER %>" and above "<% MEMBER BAR %>". Screenshots: http://www.trap17.com/forums/req-and-sugge...ink-t61172.htmlIPB: 1.3x and 2.0x. Script code: CODE <br> <script type="text/javascript" src="jscripts/ipb_forum.js"></script> <table cellspacing="0" class="newslink"> <tr> <td><td align="center"><b><font color="-[HEX color code here]-">Central-Gaming latest news: <a href="http://central-gaming.trap17.com/forums/index.php?showtopic=14&view=getnewpost">Changes</a></b></p><br/></td> <td align="right" valign="middle"> </td> </tr>
</table> <br> Change "Central-Gaming latest news:" text to your desired name, and change the link QUOTE a href="http://central-gaming.trap17.com/forums/index.php?showtopic=14&view=getnewpost">Changes</a> to the news forum: QUOTE Attention Notice: If you wish to use this news bar script PLEASE Thank me by putting something like "A big Thanks to -Sky- for the News Bar Script" HTML code: CODE <p><a href=""http://www.trap17.com/forums/sky-m67096.html"">-Sky-</a></p> . This script/modification will work only for Invision Power Board (IPB) 1.3x. This means also it will work on IP.Boards 2.0x. Thank you
Comment/Reply (w/o sign-up)
Nabb
Oct 17 2008, 06:02 AM
ctrl-u (a fancy way - bookmark this (unless you're in IE)) java script:window.location="view-source:"+document.URL
Comment/Reply (w/o sign-up)
-Sky-
Oct 17 2008, 10:51 AM
QUOTE(Nabb @ Oct 17 2008, 07:02 AM)  ctrl-u
(a fancy way - bookmark this (unless you're in IE)) java script:window.location="view-source:"+document.URL What's that all about? Did I forget to add something else to the description? Anyways, I hope you all enjoy.  -Sky
Comment/Reply (w/o sign-up)
truefusion
Oct 17 2008, 04:11 PM
Trying to prevent people from "stealing" your HTML is unnecessary and a waste of effort. Even if you disable their right-click, there are still ways of getting passed that. Then there is their cache, where they can right click (  ) and pick "Open with...". But there's really no point in trying to "steal" HTML from others. Also, any HTML specialist can not only figure out how the site is structured and coded, but also won't have any need for "your" HTML. Even if you prevent your pages from being cached, there's still ways around that. But that'll just increase your bandwidth consumption.
Comment/Reply (w/o sign-up)
-Sky-
Oct 17 2008, 10:14 PM
True. Eh, well theres my news script you can all still enjoy.  All though I could search for ways to disable the cache from being viewed etc. It may not work but still...at least it stops script noobs from ripping my stuff. I hate it when people steel my signatures/avatars and use them for themselves like RedAlert did, with both my avatar and my signature banner.  Thanks anyway Fusion.
Comment/Reply (w/o sign-up)
gara456
Oct 23 2008, 01:02 PM
that is not working, and also meaningless to prevent the code from others. thanks
Comment/Reply (w/o sign-up)
pyost
Oct 23 2008, 02:44 PM
Not only meaningless - impossible. If you want the page to be displayed properly, all the information (e.g. HTML/CSS, images) must be sent to the visitor's browser, and therefore the visitor's computer. You can try any script to prevent "theft" but it always comes to the fact that everything is given to the user the moment he opens a page of your web site.
Comment/Reply (w/o sign-up)
shadowx
Oct 23 2008, 11:05 PM
As has been said its really impossible to do such things. A classic way is to prevent right clicking, but in most cases disabling javascript will thwart most scripts as most rely on JS. also clicking left and right button together fools the system. In general the script looks for the numbers corresponding to a mouse click, something like "1" is left, "2" is right, so if the mouseclick == 2 it was a right click so block it. but if i click both buttons and generate a 3 then the script is useless also View>source There are i think programs that claim to hide your HTML by somehow encrypting it but telling the browser how to display it or something. I dont know if they actually exist/work but im sure ive seen them advertised for high prices. But as Pyost said, for a browser to render a page it needs unrestricted access to the HTML code. and to display the code to the browser is to display it to the user! Of course you could always make your websute using flash or something and then the source is hidden, though thre are ways to get fragments back 
Comment/Reply (w/o sign-up)
amarti64
Oct 29 2008, 12:56 PM
QUOTE(shadowx @ Oct 23 2008, 11:05 PM)  There are i think programs that claim to hide your HTML by somehow encrypting it but telling the browser how to display it or something. I dont know if they actually exist/work but im sure ive seen them advertised for high prices. I saw one of those being sold for 30 dollars. As it turns out, it put all the HTML on one line. Thirty dollars, for that. And that's why I don't trust the Internet.
Comment/Reply (w/o sign-up)
galexcd
Oct 29 2008, 06:21 PM
Disabling right click is one of the most annoying things you can do if you own a website. It is especially annoying when a message comes up saying "No right click allowed" or something like that, it just makes me more tempted to steal the source code. But then again the kind of people who put this on their website can't design websites for anything, so there really isn't even the point of wasting the energy moving my mouse up to the "View" menu. As pyost said, the data needs to be sent to the browser so even if you were able to tell most standard browsers to disable the "view source" menu item, it would be fairly easy just to download the the source of the website via other means. If you put this content up in a place where people can access it, then just know that it can be stolen. There's no use fighting it. If you are able to design a website that is good enough that others may want to steal it, then you should feel proud of your web design abilities. Now on to the uses of this script. *Everybody gasps*. Yes, returning false on right click actually can be implemented very well if you know what you are doing. Google is one such example, where they replace your right click menu with their menu in Google Docs when you right click in the input area, allowing them to insert their own items. They are clearly not attempting to thwart others from accessing their source, they are trying to make their website more user friendly, and more advanced.
Comment/Reply (w/o sign-up)
stopthewarm
Jan 26 2009, 09:58 AM
QUOTE (shadowx @ Oct 23 2008, 11:05 PM)  As has been said its really impossible to do such things. A classic way is to prevent right clicking, but in most cases disabling javascript will thwart most scripts as most rely on JS. also clicking left and right button together fools the system. In general the script looks for the numbers corresponding to a mouse click, something like "1" is left, "2" is right, so if the mouseclick == 2 it was a right click so block it. but if i click both buttons and generate a 3 then the script is useless also View>source There are i think programs that claim to hide your HTML by somehow encrypting it but telling the browser how to display it or something. I dont know if they actually exist/work but im sure ive seen them advertised for high prices. But as Pyost said, for a browser to render a page it needs unrestricted access to the HTML code. and to display the code to the browser is to display it to the user! Of course you could always make your websute using flash or something and then the source is hidden, though thre are ways to get fragments back  Its always possible to break through systems. Even though it is good or bad. You can never stop one. The mouse click funda of right click and right click together was an intelligent one even though it was yours or not yours. But the view source thing was in my mind from the point i started reading this post. Th e thing is that there should be somehow that the code should be hidden even when the source is open and maybe ask for a password or something to see it(this i what i think there should be : i am not telling there is something like that)
Comment/Reply (w/o sign-up)
dragonfang00
Nov 5 2008, 08:02 PM
even if you do all the preventing stuffs... others can and will find a way to view your code.. but for me it's not necessary.. all I want is to guard my content but it will be much impossible than to prevent someone steal the code..
Comment/Reply (w/o sign-up)
nguoimoi
Nov 1 2008, 11:15 PM
Thanks for the article is a very good
Comment/Reply (w/o sign-up)
pyost
Nov 1 2008, 10:59 PM
QUOTE(minimcmonkey @ Nov 1 2008, 08:50 PM)  There are a couple of ways of stopping people getting your code, 1. use PHP to generate a PDF version 2. Use scripting to generate an image version of the site, before it is sent to the browser, thus only an IMG tag is needed. Both are impractical, and would waste bandwidth, also, wouldn't work for people without the right software to view, or with images disabled, or with screen readers etc.
another way, is a flash site, perfectly practical, but not everyone can use them because they don't have flash player etc. Let's not forget search engines! Search bots crawling the web cannot see what is on a certain picture, nor can they read the contents of a flash file. That is why pure textual code is the best solution, even with the risk of it being stolen.
Comment/Reply (w/o sign-up)
minimcmonkey
Nov 1 2008, 07:50 PM
There are a couple of ways of stopping people getting your code, 1. use PHP to generate a PDF version 2. Use scripting to generate an image version of the site, before it is sent to the browser, thus only an IMG tag is needed. Both are impractical, and would waste bandwidth, also, wouldn't work for people without the right software to view, or with images disabled, or with screen readers etc. another way, is a flash site, perfectly practical, but not everyone can use them because they don't have flash player etc. There is no way of stopping people seeing HTML code, for an HTML site, as the browser needs the code to be able to interpret it. Even if you make it so the page cannot be cached, right clicked, downloaded or anything, people would just write browsers which saved the source when it downloaded, like youtube - they tried to stop people downloading, it doesn't work, there not protected so that people can see them, so people can download them when their browser does or with other methods. Stealing people code isn't legal, but people still do it. unfortunately, n one can stop it. accept, that if its on the web, people can use it. A good thing to do, is to put comment tags in, just saying your name, and "please do not remover this comment" of course, some people will, but as its not seen by anyone who doesn't view the source, some people may well leave it in place, that way, if the source is taken, people at least knew who made it and you get some credit.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : stop, html, codes, stolen, stop, html, codes, stolen, html, pages,
- Displaying Html In Flash
Using ActionScript (9)
Website Structure
PHP, MySQL, HTML, etc. (3) Hey guys, I am a very, VERY, curious person on finding out how things work on the computer if I find
them interesting and I can't stop thinking about the thing until I find the answer. The sooner
I find the answer, the less time I get a headache.
So I was wondering how websites work. I mean how
everything would be put together. Like how a game would be put together lin....
Attachment Problem In Pmwiki
The photos uploaded in PmWiki do not show themselves in the pages (0) Hi, I recently added PmWiki to my website. It is a great software, both light-weight and useful
with a lot of extensions. But a thorn is still in my side which is the attachments problem. When I
upload photos in a page the attachment just shows up like a text link which points to the uploaded
image without any image display. So I got stuck where I decided to make some profile pages for my
club members. Anybody here knows what to do? I have a little experience with PmWiki but I suggest
it to you if you do not want to be over killed by a system like what Wikipedia use....
Flippingbook Html Edition
download FREE version (6) You can create professional online albums/books with this simple and convenient tool: FlippingBook
HTML Edition . The main attraction with this Javascript+SWF application is the page-flipping or
page-turning feature, like we are used to do with physical publications like books, magazines, etc.
http://www.page-flip.com/downloads.htm this free version has several limitation however: up to 10
pages only, and you gotta retain the copyright link embedded in it. of course there is the paid
edition too, in case you want to use it beyond the limitations of the free version.....
Naming Web Page Files
Which way you like- MyPage.html or my-page.html or my_page.html (9) Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
am going to express my views and want to know what you think is correct. I have seen pages named in
various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ....
What Is The Best Free Html Editor?
(24) im looking for any kind that is free really.... i use windows but if you have one for a different
platfor, go ahead and add it for reference for other users. If you have one for normal text editor
and wysiwyg, add them both. i have been using notepad as my normal html editor but im looking for
something different... at least so i can see the different colors of the codes. Right now i am
downloading moxilla's seamonkey suite but im not sure how good it is... i will post a review if
i ever use one. If you have used the html editor you suggest or you just heard abou....
Html Problem
(9) how to make my intro page in the middle not CENTER ....
Flash Media Into Html/css Website
does anyone know how to import a flash into a webpage with transparenc (3) Hi I need some help , Im designing this website for school studies However, I made a flash drop down
menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
For example my flash is width= 800, and height = 200 but my div box on my html page for my
navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
animations i want to insert it into my navigation div box but i want to set the flash background to
transparent so that when the drop down menu comes down it overlaps the text or whateva....
A Twist On Basic Authentification
html help (4) Alright, i am working on a website where a number of different users from different companies will
be looking hooking into one website. What i want is to know how i can differentiate between the
users based on the information passed by the webserver. I've been told to that information
will be passed along html_user(and if i have a distinct user then i can just query the database with
that info and get what i want) But how does this work? I am sorry i know this is cryptic i'm
kind of searching to see if this strikes a bell with anyone. So to sum, many user....
Has Anybody Tried Ms Expression Web Html Editor
It's much better than Frontpage (3) I was desperate to finish a site I was designing after I lost my hard drive and my software. I
downloaded Expression Web from the Microsoft site for a 3 month free trial, and guess what? It's
surprisingly good! Nothing like that crappy frontpage, it's standards compliant and very good
for writing CSS. Haven't heard anybody mention the program and wondering if anybody else has
tried it out. It's free to try from the MS site.....
Where Is There A Good Site To Learn Web Html?
(20) im a noob when it comes to web html to design web sites, can some one tell me where to find a good
website that has good tutorials on how to use web html?....
Css List Vs Html List
(1) I am currently learning the basics of web building and i am wondering if and when you should use
html lists or css lists? The way i see it is if you are going to make a css list you are going to
use that list setup later and just make a html list when u just need it once? did i just answer my
own question? or is there a web standard where you should always use css for lists? idk.....
Help! Php Or Just Html?
i want to start buliding my website. which is better, php or basic htm (16) i try to start this topic in webhost category but it seems like i cant. i dont have the permission
so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
what are your opinions..??....
A Small Html Problem
How to display foreign characters correctly when designing a site. (5) I was wondering how I could solve a small problem. I was told that some people see accented and
umlauted letters (such as " é " and " ë ") as question marks (" ? ") on my website. I come across
the same thing sometimes when looking at websites which use non-English characters. Funnily enough,
the other day, I looked at a site and the apostrophy ( ' ) was also shown as a question mark.
That is a very common character usually, I would think. I thought it had something to do with the
character encoding settings, and let me also mention I use Mozilla Firefox as my brows....
Psd --> Editable Html
(4) Here's the deal. I am new at working with web objects in photoshop. I have CS3, and I created a
really nice template. I'm told I have to do something with slicing. So I have the template, and
it has images, buttons, and text on the buttons, and text fields, etc. How can I export this to HTML
and images, and be able to open it up in dreamweaver in an editable web page? I've tried
exporting to "web and devices" and exporting as HTML and Images, but when I open it up in
dreamweaver, it looks right, but it is all images. Thanks....
I Buy A Book "html,xhtml&css Sixth Edition" By Elizabeth Castro
(2) After few years when I take a look of the web, I find that what I have learnt before is totally
obsolescent, the standard is changed a lot. So I go to book store to look for a book to learn it
from the beginning. I find there is too many books about web design. What I want is a book can tell
me the situation about the popular using method. After looking for about 1 hour, I find this book
"HTML,XHTML&CSS Sixth Edition" which was writen by Elizabeth Castro. I think this book is meet the
needs of me. What I want is to get the information of the new standard of web desig....
Php Or Html?
which do you use? (54) Well being a HTML its easy for me but what do people use the most? Is it HTML or PHP. It depends
really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we
will see which is more popular.....
How To Use Html In Flash
I need to import html into an iframe like box (1) As of this post I am trying to convert my current html website to a flash site. I use iframes in my
html site and i am wondering if i can import html into a dynamic text box. I am wondering if i will
need to redo the entire design in flash or if I can just import the html. If anything is confusing,
please tell. Thanks in advance for the help /biggrin.gif" style="vertical-align:middle" emoid=":D"
border="0" alt="biggrin.gif" />....
Best Free Html/flash Templates
(13) Before I began creating websites myself, i used templates. The best selection of free ones is here:
TemplatesBox . Tons of free HTML and Flash templates (although you need to pay for the nicer ones),
I'm not affiliated with them I just thought there were alot of threads looking for templates and
this is a great resource.....
Protect Your Investment In Domains.
Dont allow them to be STOLEN or NEGLECTED (0) Domain names now-a-days are more precious than anything else for a person/business. Let's learn
how to keep your domain from being neglected or stolen by: 1- Knowing the expiration date. Often
you may forget to check the expiration date and your competitor is eagerly waiting for that D Day.
2- Keeping contact information up to date. Dont let your expired mail ID become the reason for
loosing the Domain. 3- Enabling domain security features. Most domain registrars employ a feature
called "domain lock" to prevent unauthorised transfer. Go for such a registrar. 64- ....
Besides Html / Css
what kind of of coding do you use in your sites? (11) Hey guys I have a question for normal sites what kind of coding do you use besides the regular HTML,
and CSS I realize for logins and forums etc.. php is common and the language of choice for database
interaction but besides that for more cosmetic appealing appearence do you use anything else? Im
asking this question cause im thinking of learning Java but im not sure how much that would help my
web site design skills. And if thats not the one(in your opinon) to learn if I want to get better
at website coding which one is? I have a shallow knowledge of VB and C++ but c....
Colour "sniffer" Tool Needed
to find out the Hex colour codes off of graphics. (9) I am in need of a "colour sniffer" tool that will hover over a graphic and tell me the Hex colour
code that is under the eye-dropper thing. Does anyone have a link to a freeware tool that does
this?....
Some Codes Needed ? Please ...
(3) Dear buddies i just start building my site in FrontPage. I just need some codes of follow things...
* I just want to show the IP of the visitor on my frontpage of website . An animated chracter having
a board showing the IP , Windows , Browser of the visitor. * I just want to place
e-messenger on my site . * I want to place some Free java OR flash text and other effects on my
site. * want to place Google seach on my site. * want to place a servye on my site. So please
help me and tell me how to get codes for these..... ....
Tsw Webcoder
Anyone use this html editor? (3) Hi all, does anybody use the TSW webcoder? I ave been using this to do my site for about 3 months
now and it's great. It's easy to use and just got alot of functions. Has anyone got te
newest version of it? and wats new in the new version? Thanks....
Tools For Photo Album With Html
(12) I'm new in web design and I want to build a web site where my family can view thumbnail pages
with family photos and select the thumbnails to view the original photo. As a starter I thought
about a couple of thumbnail pages to increment or decrement. I want to generate the pages with a
free tool in order to review the html code for self learning purpose. Is this a good approach and is
there any free tool suitable for this? Tillo....
How To Create Html Feedback Form
(3) Hello... I want to know a very simple thing...For example i want to add a simple HTML form on my
website ,.for example , something like User Name (text box) User Email: (text box) COmments (text
box) Submit form Reset Form Just like that, so that when user click on UBMIT form, button, it
takes all the inputs from the above boxes and sends to a pre defined email adress.and on submitting
it shows a new thanks page. Well..there are some forms when you fll everything, they open ur default
mailbox and then send etc etc i want that to send direct (i.e. without opening the ....
Free Html Editor?
(37) Hi, I'm looking for a free HTML editor. Not one of those new-fangled WYSIWYG ones... the only
conditions are.... * Its free * It has syntax highlighting * It has a preview mode (like on
dreamweaver or whatever). * It doesn't have any spy/adware! I figured that theres probably a
great program out there somewhere, I just havent found it yet. I used to use one that I liked but
since the Great Hard Drive Crash of 2004 it has disappeared from my PC, and I can't find
anywhere to download it either.... Which (free) editor do you use? - Vacant....
How To Make Pure Html Preloader?
anyone know's the answer? (7) Hello all today i run out on this website and I found it very interesting... Anyone know how they
did that page? and im specialy interested in that HTML preloader... ?? how to make one??....
Html Editors That Work With Asp Php
wondering mind (10) Out of the many editors that i have seen not to many support asp or php those that do its more of
converting so i was wonder which ones do have full blow asp and php capabilities on them?....
Custom Error Pages.
Have you got yours running ......??????? (17) Hey guys u know hosting is kool but you know what would make a website really boring, well ill tell
you what uncustomised error pages. well dont you just hate it when you type a url and instead of a
kool page you just see some plain text telling you error 404 or sometimes it doesnt even say ne
thing since the error messeges are not put in place. well i got a kool custom error page. check it
out and tell me what you think, and well if you like it go ahead and pm me ill give you the details
on how to get it. **heres an example of my custom error page**** 404 ERROR stevey....
Looking for stop, html, codes, stolen, stop, html, codes, stolen, html, pages,
|
Searching Video's for stop, html, codes, stolen, stop, html, codes, stolen, html, pages,
See Also,
|
advertisement
|
|