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! New vlog for you (finally). Click through for further details on where I went Camera Shopping and my favourite photo location in Tokyo. There’s a bunch of details and photos waiting for you.
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.
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:
Friends! I got some photos (and a vlog) for you from a weeked trip away to Mt Fuji. We head to Mt Fuji for the weekend to chase some Autumn colours (with Fooj in the back obviously). If you have never been to Mt Fuji, be warned that depending on the time of year, it might not always be visible. It is kind of crazy thinking about how huge the mountain is and how it can just hide from you so easily in the clouds. I was once told by a tour guide that Mt Fuji is female because she likes to hide from you and will only appear if you are nice. Click through for more word and some photos to match.