Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

feat(sidekick): new sidekick config #694

Merged
merged 4 commits into from
Jun 25, 2021
Merged

feat(sidekick): new sidekick config #694

merged 4 commits into from
Jun 25, 2021

Conversation

rofe
Copy link
Contributor

@rofe rofe commented Jun 25, 2021

Prep for adobe/helix-sidekick#14

Test drive using the following bookmarklet URL:

javascript:/* ** Helix Sidekick Bookmarklet ** */(() %3D> %7Bconst c%3D%7B"owner":"adobe","repo":"theblog","ref":"sk-cfg"%7D%3Bconst s%3Ddocument.createElement(%27script%27)%3Bs.id%3D%27hlx-sk-app%27%3Bs.src%3D%27https://sidekick-updates--helix-pages--adobe.hlx.page/tools/sidekick/app.js%27%3Bs.dataset.config%3DJSON.stringify(c)%3Bif(document.getElementById(%27hlx-sk-app%27))%7Bdocument.getElementById(%27hlx-sk-app%27).replaceWith(s)%3B%7D else %7Bdocument.head.append(s)%3B%7D%7D)()%3B

@rofe rofe merged commit 575ce74 into master Jun 25, 2021
@rofe rofe deleted the sk-cfg branch July 13, 2021 20:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants