English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Yeah Yeah I know, don't bother. I've seen all you computer geeks out there say "if you have something to hide don't put it on the internet, or YOU Can't block view source" etc etc. I don't want to hear that.
Awhile ago I found a website page that had been done by a college professor, it gave a code to put on your webpage that not only blocked the right click option on the page but also when you clicked on View in the IE menu and hit view source it did NOTHING. It blocked the notepad from opening, THIS is the code I'm looking for. I had shown the code to a technician of a very large server here in NY and he said he'd been looking for that code for a long time, but since both of us lost it and that college prof. page can't be found. Does anyone have a code that will do this? I'm not sure but it may have also greyed out the view source button. Please spare me the smart remarks cause I know it CAN be done. Just lost the darn thing.

2006-07-12 08:04:21 · 6 answers · asked by waddabunchabologna 3 in Computers & Internet Programming & Design

6 answers

To my knowledge there is not a way. If it worked in IE it may have been an activeX 'feature', but that wouldn't work in other browsers.

2006-07-12 08:18:49 · answer #1 · answered by John J 6 · 0 0

You could have the page be one line of JavaScript that loads a URL and outputs the page via Ajax. The JavaScript can be obfuscated so that it would make it a little more difficult to find the URL, but even that's not a perfect solution, as it can be overcome by anyone who knows what they're doing and will force your users to use JavaScript . Orkut and gmail are both Ajax sites. That's the reason why you can't see a lot of the code. Most of the HTML is generated dynamically with JavaScript.

2016-03-15 23:08:39 · answer #2 · answered by Anonymous · 0 0

Find the web page and I'll cut and paste the HTML source code right here.

While you can use JavaScript to disable right click, all I have to do is turn off JavaScript in my browser. And how can a browser display something if there there is nothing in the HTTP response? Go read an Internet Protocols text book.

Worst case, I just run the curl command on the URL you think you can hide. And other browsers such as Firefox will display the source in the info panel so I don't have to right click.

2006-07-12 08:15:11 · answer #3 · answered by Anonymous · 1 1

I don't know what the code is, and its quite commen. something like Script no right click or something.. One thing I do know is it is useless. Just click file and save the page A's and then open it up with any web editing tool, Like front page... There is no way to totally block the content as the browser has to be able to read it. Believe me, Its a endless cause. You would only be able to block it from the not so smart people.

2006-07-12 08:16:44 · answer #4 · answered by ntlgnce 4 · 1 1

Get the code you are looking for here

http://vegasdawg.freespaces.com/norightclick.html

2006-07-12 08:13:47 · answer #5 · answered by Anonymous · 3 0

that doesn't stop screen capture and file/save as

here is more

★★ YOU CANNOT PROTECT YOUR SITE ★★

◙ NO MATTER WHAT ANYONE TELLS YOU, THE ONLY WAY TO PROTECT YOUR PAGES AND THEIR CONTENTS IS TO KEEP THEM OFF OF THE INTERNET!

◙ It is absolutely impossible to keep anyone from taking everything on your pages. They can even take the pages themselves. Some people can even do all this without even going to your web site or blog. They use a tool to fetch these things for them.

◙ Some inexperienced people use JavaScript to disable the right mouse button. While others use a JavaScript to keep you from seeing the page's HTML source code. These scripts can easily be disabled using a script disabling favelet or bookmarklet. But there's no reason to disable the scripts since there so many other ways to steal your pages and their contents.

◙ I can think of atleast a dozen ways to take your stuff. Experts can think of many more ways. Your only possible chance to protect your stuff is to copyright it. Even if there is no copyright on the page it is still copyrighted.

◙ Here are ways people try to protect their stuff that DO NOT WORK!

1. Some use a JavaScript to disable the right mouse button.
2. Some use a JavaScript to keep you from clicking on VIEW > SOURCE
3. Some use an HTML Obfuscator to encrypt their source code. There are lots of programs you can download that do this and you are wasting your time using them.
4. A lot of people put a watermark on their images or put text or their URL on the image surface. These can be easily removed using Photoshop.
5. Some use audio or video streaming in an attemt to stop you from stealing their media. There are several programs that will steal them.
6 Internet Explorer has a utility built into it that places a menu on the screen when you pass your cursor over an image. This can be disabled using galleyimg="off" in the image tag or using a meta tag.
7. Some when writing their HTML source code scroll way down in Windows Notepad before they start the fist line of their code. This way when you try to look at their code you can't see it. They think newbies aren't smart enough to know they have to scroll down to see it so they will simply give up.
8. Some people put their pages in a popup window and then disable the right mouse button.
9. And the list goes on and on.

◙ here are a few of the many ways to take your pages.

1. Press ALT+V+C to open your HTML source code in Windows Notepad. Now save it on your hard drive.
2. Move the cursor over a blank part of the page. Then click the right mouse button and click on SOURCE. Now save it on your hard drive.
3. Click on VIEW above and then click on SOURCE to open the HTML source code in Windows Notepad. Now save it on your hard drive.
4. Click on FILE/SAVE AS above to download it.
5. Use a tool like the following program to steal it without going to your site. http://www.codelifter.com/
6. Use a favelet or bookmarlet to disable all the scripts in a page so you can steal the page easier.
7. Use a favelet or bookmarklet open the HTML source code in Windows Notepad.
8. Some people put their pages in a popup window and then disable the right mouse button. All you need to do is move your cursor over a blank part of the page and click the left mouse button to give the page focus. Then press the F11 key to put that popup in the fullscreen mode. But being it is a popup it won't open in fullscreen mode. What it does is makes the address bar and all the toolbars appear so you can steal everything. In Internet Explorer 7 you won't be able to hide the address bar and tool bars even in poup windows anymore.
9. And the list goes on and on.

◙ Here are a few of the many ways to take your images. Several of these methods can also be used to steal embedded objects like audio and video etc. NOTHING IS SAFE ON THE INTERNET!

1. Click on FILE/SAVE AS will not only download the page but also every image on that page at the same time.
2. Move your cursor over an image and click the right mouse button. Then click on SAVE IMAGE AS.
3. Move your cursor over an image and click the right mouse button. Then click on COPY. Now go to your HTML Editor, Photoshop, Email, Message Board, and a host of others and paste the image.
4. Use a favelet or bookmarlet to take all the images out of your page and display them in another page for easy viewing and stealing.
5. Some people write small perl programs. They run on the command line to grab multimedia off of web sites.
6. Click the PRINTSCRN key to the right of the F12 key on the keyboard. This captures the contents of the screen into your computer's memory (clipboard). The they paste this into a graphic editing program like Photoshop "AS A NEW IMAGE". They then crop your images out of the total image and save them.
7. And the list goes on and on.

◙ People using Web Tv cannot make their own images. They have no hard drive like the rest of us. Therefore they can only hot link to your images for display on their own homepage. If you catch one of them doing this simply rename the image in your directory and in the source code of your homepage and that will keep your image from showing up on their pages. Another trick is to replace the image with another using the same filename. This way you could force a nude photo to show up on their page. :)

◙ DISCLAIMER: I am not trying to teach you how to steal. I simply want you to know that there is nothing you can do to protect your pages and their contents. Your only possible hope is to copyright them or to keep them off of the Internet.

◙ This demo assumes you are using any version of Microsoft Windows and any version of Internet Explorer.

Now do you still think you can protect them. :)

2006-07-12 08:20:05 · answer #6 · answered by Anonymous · 3 1

fedest.com, questions and answers