1
dave6901
right click access
  • 2004/5/6 19:51

  • dave6901

  • Just popping in

  • Posts: 6

  • Since: 2004/4/7 1


i was wondering if someone knows how to make it so when someone right clicks on your site they don't get all the info from your site. I would like it to say something like copyright of www.yoursite.com

2
dave6901
Re: right click access
  • 2004/5/7 19:25

  • dave6901

  • Just popping in

  • Posts: 6

  • Since: 2004/4/7 1


nobody knows how this is done ???????????

3
Dave_L
Re: right click access
  • 2004/5/7 20:33

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I'm sure there are lots of examples on the web of how to do that with Javascript. Here's one I found with a web search:http://insights.iwarp.com/advanced/javascript/stoprclick.html

But a user can easily defeat it by turning off Javascript or by using the browser's view-source menu command.

4
dave6901
Re: right click access
  • 2004/5/7 20:53

  • dave6901

  • Just popping in

  • Posts: 6

  • Since: 2004/4/7 1


now where exactly should i add this script to mainfile.php or where?

5
Dave_L
Re: right click access
  • 2004/5/7 22:06

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I suppose either include/xoops.js or themes/*/theme.html would be the logical place. If you put it in xoops.js, omit the <script>, <!--, //--> and </script> lines.

Login

Who's Online

116 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 116


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits