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
https://forums.phpfreaks.com/topic/23889-browser-compatibilty/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.