Squarespace: Disable Right Click Code

In this post

  • disable right click to prevent downloading photos
  • save images/inspect element when the right click feature is disabled

How to Disable Right Click on Squarespace with JavaScript

To disable Right Click on Squarespace Site, you just need to follow these easy steps.

Access Home > Settings

Click Advanced

Click Code Injection

and insert this code to Header

Saved. Done!

How to Save Images/Inspect Element when the right click feature is disabled

Sometimes you want to download images/inspect element from a website that has disabled Right Click.

You can follow the instructions below.

1. Press Ctrl + Ship + C (Windows) or Command+Option+C (Mac) to open Chrome Dev Tools

2. Press Ctrl + Shift + P (Windows) or Command+Shift+P (Mac) to open the Command Menu

The Command Menu.
Sources: developers.google.com

3. Start typing JavaScript and select Disable JavaScript, then press Enter.

All JavaScript is now disabled. You can try saving images or Inspect Element!

Selecting 'Disable JavaScript' in the Command Menu.
Sources: developers.google.com

Share this post:

Posted in