Open Squarespace admin/edit page

When you're viewing a site you own on squarepsace, click a button to go to the SS admin panel (not quite in edit mode for that page, but at least for its category, usually)

Autor
Darin Kelkhoff
Dziennych instalacji
0
Wszystkich instalacji
38
Oceny
0 0 0
Wersja
0.1
Utworzono
18-08-2020
Zaktualizowano
18-08-2020
Licencja
Brak licencji
Dotyczy

Many CMS's that I'm familiar with (say, Hubspot for one) have an easy-access "Edit" button that appears on the screen when you're viewing your published site. It's too bad squarespace doesn't have one!

So, this script adds one.

Now, the "issue" is, at least in 5 minutes of checking this morning, I'm unable to see if or where squarespace has a dedicated URL to edit specific pages - rather, their edit URLs are more like category-level (i.e., all of a blog's posts are edited at the same URL, or all pages at the top-level of a site at a different (but just one) URL).

So, this script just adds a little floating edit button on the bottom-right corner of your squarespace site pages, that at least gets you from the published site to the squarespace admin panel for the site, and the proper category for the page you're on.

Of course, to use the script - you'll need to edit it and put in the sites that you actually own through squarespace in the @match lines.

Known error conditions are:

  • If you use it on a non-squarespace site -- you'll get an alert with an error telling you as much.
  • If you use it on a squarespace site that you don't own -- you'll go to the site's squarespace admin page, but get a permission-denied message from squarespace.