Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Howto Block Selecting Page

Featured Replies

Dear All,

 

 

I have a questions ;

 

1. How to block selecting page (select all, etc) in webpage?

2. How to disable right click on page in my webpage?

 

 

I am using Mozilla Firefox...

 

 

Thnks

JavaScript.

 

http://lmgtfy.com/?q=Disable+Right+Click

http://lmgtfy.com/?q=Disable+Select+All

 

Your[/]i] browser may be Firefox but have you give any thought to what your target audience may use? Although the JS code for what you want should be cross browser compatible, coding for one browser is a massive no no...

 

Just a warning.

 

Furthermore, if people want to steal your content - a bit of JS won't stop them. It's really easy to get around those old tricks.

 

2. How to disable right click on page in my webpage?

 

 

Bit of advise on this...

 

If you're worried about people stealing your content then it will not make any difference if your right click has been disabled people still can and still will.

 

Further more the right click is an integral art of a browsers usability for a lot of people and disabling it will just aggravate users and they will leave.

I would leave it in place.

Just a heads up.

Yeah I'd recommend staying away from it too, mate.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.