How to disable right click on Squarespace
Protect yourself against image theft
Just a quick tip for all you Squarespace users out there. Unfortunately Squarespace hasn't baked in the functionality to disable right click in their templates.
The reason why you'd want to disable right click on your website is to make your images harder to steal. (Of course it can still be done - but hopefully this will deter the less determined).
The code
<script src="http://ajax.googleapis.com/ajax/libs/jquery /1.3.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" language="javascript"> $(function () { $(this).bind("contextmenu", function (e) { e.preventDefault(); }); }); </script>
Source: ArminB (Squarespace forums)
You'll paste the above code into the Page Header Code Injection. This section can be found by clicking the settings button for the sections of your website you want to disable it in and going to the advanced tab.
Please note that it will disable right click for all the pages in that section of your website: i.e. if you paste it in your blog's page header code injection, it will disable right click for your entire blog.
I hope this helps!
Come follow me on Instagram @itchban
Hi friends! After two a long involuntary two year hiatus - the Japan series vlogs are back! I spent 40 days exploring Japan (Dec 2022 - Jan 2023). We start the adventure up north in Hokkaido in the search for snow. Plenty more eps to come after this one. Hope you enjoy the vlog!
Come with me as I solo road trip from Queenstown to Milford Sound and back. I stayed at an epic Airbnb in Queenstown and finally shot a full night (10 hour) astro photography sequence. I am also pretty sure I caught Venus, Mars AND a meteor shower in the astrolapse. I also do the epic drive to Milford Sound TWICE in two very wildly different conditions. Watch here:
I finally made it out of the country and filmed a small travel vlog series in South Island New Zealand. I did a solo road trip from Christchurch, through Lake Tekapo, Mt Cook, Queenstown, Milford Sound and back.
Click through for the vlog & photos:
Hi friends! Here is a full tour of my apartment & studio. It’s basically finished for now, and has taken me about 7 months to furnish, film & edit this vlog haha. Click through to watch the episode:
Hi friends! I’m finally back on Youtube after a 7 month hiatus lol.
I give a brief life update and run through 8 apartment inspections in Sydney. If you’ve ever wondered what Sydney city life living is like, come snoop through peoples apartments with me in the vlog above haha. Let me know what you think about the vlog ep. Click through to watch:
I’ve just released 6 more photographs on my print store. They’re faves of mine and I’m sure you’ll love them. Click through for a 15% discount code.
I’ve dropped my very first set of NFTs! They’re a set of 3 of my favourite Japan pieces and are 1 of 1. If you’ve ever wanted to own any of my work here is your chance. Click through to read more.
hi friends!
Thanks for dropping by. Here are the promised photo samples from the brand new Samsung Galaxy S24 Ultra. Huge thanks to Samsung Australia for getting this phone to be a week early so I could test it before everyone else.