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)

作者
Darin Kelkhoff
今日安裝
0
安裝總數
39
評價
0 0 0
版本
0.1
建立日期
2020-08-18
更新日期
2020-08-18
尺寸
1.3 KB
授權條款
未知
腳本執行於

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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址