Jump to content

Does anyone


zachary

Recommended Posts

Does anyone have a script either made out of html/java/javascipt that could edit the right click options? and does any one have a code that can Hide all the content in your source? :)

Link to comment
Share on other sites

No such can do. There is no JavaScript that can safely hide your source.You can do all sorts of things, but it is absolutely not possible to make it secure, as the user is allowed to manipulate all JavaScript on a page. :)So there may be anti rightclick scripts, but they are incredibly irritating and everyone would actually attempt to avoid the script.However, there may be a script that levels the context menu, so you can make your own and give only the options you want. But I doubt all context menu options can be executed by JavaScript though.

Link to comment
Share on other sites

You can create your own context menus in Flash, but that's Flash..If you think about the nature of the internet, it is not possible to hide any client-side code by definition. The server sends your browser all of the code, the code is sitting on your machine, there's no way to disallow a user access to something sitting on their machine, and there's not really a point to it anyway. The internet is an open place, there's no point in hiding your HTML or Javascript. If you are doing something that you don't want people to see the code, then use a server-side language.

Link to comment
Share on other sites

This can be done.. I have seen it before on a website. ut you can always go with scotts alternative and make a new menu (pretty cool scott :))

Link to comment
Share on other sites

There are lots of mehtods out there to TRY and hide your images and source code, etc...but there is always a way around it. You just have to understand how the method was implemented.As of now there is still no way to protect your content 100%.

Link to comment
Share on other sites

someone can always just press print screen and get the picture that way.you could just load all the content with an AJAX Include (I don't really feel like finding it again, butit's on here) but that would probably be bad for Search engine ratings.Edit: here

Link to comment
Share on other sites

No matter what you do, no matter how the content gets to the client browser, the fact is that the client has the content. If someone really wants to see how you did something in client-side code, they can, by definition, and there's nothing you can do about it. You can use tricks to make it more difficult to find the code which would maybe discourage a casual user from digging, but if someone really wants to get it they can. If you don't want people to see your code, then you can't use client-side code.Also, there's not really any point to it. Unless you're some uber-leet programmer with a ton of experience and are doing things that no one else has figured out, chances are that you are just reinventing the wheel and the code is out there anyway. You may have even stolen the code yourself, and how useless is it to try and hide code you stole (unless of course that's the reason you are hiding it).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...