Jump to content

Browser Compatibilty


k4kashifb

Recommended Posts

hi!
I am a student of BS and developing a web page as a semester assignment in PHP+JavaSCript
My assignment is to protect the publish content i.e. not allow the user to copy/print/save/save as of the text page.
So far, i have done with the following
1- disable the right click event on Internet Explorer6.0 to avoid the following
a- Select all
b- print
c- copy
2- Disable all the menu so that a user cannot do the following
a- File->Save
b- File->Save as
c- File->Print
d- View->Source(Possibly to avoid the copy of the content by viewing the HTML source code)

All of the above have been done by using JavaScript.

Now here comes my pain ---->
When i start testing the code, it works fine with Internet Explorer 6.0 but when i test it with Mozilla FireFox, the

javascript doesn't work. What i want is to make it to all web browser compatible. or is there any other technique to do the

same work  in a good way

Any helping material in this regard will be highly appreciated.
Thanking in advance.

kaashif
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.