Jump to content

Custom CSS for disabling right click / not header code injection

Recommended Posts

Hi everyone,

So, I need a custom CSS code that makes it so no one can right click to download any of the photos on my website.

I was doing this with a header code injection when my website was a draft, but because I have personal plan, this isn't working any more. I do not want to upgrade to a business plan... I just don't need it. So I am super frustrated that Squarespace has made this a 'premium' feature. 

Is anyone able to help out here? I have a photography website so I want to try and protect my images. Yes, I know there are still workarounds. But this helps a lot.

Thanks in advance! 

Link to comment
  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You can try this approach if you need it:

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
22 hours ago, Ziggy said:

You can try this approach if you need it:

 

Hey, I saw this before, but it doesn't seem to work. Is there a specific way I should implement it? Right now I just put it in the Custom CSS section.

Link to comment
On 3/9/2024 at 3:15 PM, catemiz said:

I've also got images with some click-through links, so it's not really ideal. Are there any other solutions?

No, it's certainly not ideal for links (if it were to work). 

There isn't a way to do this without code injection.

The only thing I can suggest is watermarks and small images to protect them, but that's not news to you.

On 3/8/2024 at 4:53 PM, catemiz said:

I do not want to upgrade to a business plan... I just don't need it.

If you need to disable right-click, or do need to put a copyright message up on right-click, then you do need it.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.