ShareShortcuts

Safari Editer

Ever think that white or black backgrounds where just to plain?

virtual_helper
Fork “Safari Editer”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so virtual_helper gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
44K
Saved
2
Actions
18
Category
Social Network
Version
2.0
Language
EN

Preview

Ever think that white or black backgrounds where just to plain? Now this shortcut will give new colors and is getting updated almost every day with a new color!

What's New

Version 2.0

Check it out! Limited time text editing like up-side-down text! Get now for this one time offer!

Version History
2.0 Jan 23, 2022

Check it out! Limited time text editing like up-side-down text! Get now for this one time offer!

1.1 Jan 23, 2022

More colors!

1.0 Jan 22, 2022

First release

What it does

18 actions
  1. Choose from Menu
  2. Choose from Menu
    Safari
  3. Choose from Menu
  4. Choose from Menu
    Blue Backround
  5. Run JavaScript on Web Page
  6. Choose from Menu
    Purple Background
  7. Run JavaScript on Web Page
  8. Choose from Menu
    Light Red Background
  9. Run JavaScript on Web Page
  10. Choose from Menu
    Yellow Green Background
  11. Run JavaScript on Web Page
  12. Choose from Menu
    Dark Red Backround
  13. Run JavaScript on Web Page
  14. Choose from Menu
    Black Background
  15. Run JavaScript on Web Page
  16. Stop This Shortcut
  17. Choose from Menu
    Other
  18. Run Shortcut
    ndsıdǝdoʍn ʇǝxʇ

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#define color darkgray
#define glyph textSymbol


menu nil {
item "Safari":
	menu "" {
	item "Blue Backround":
		runJavaScriptOnWebpage("var style = document.createElement(\"style\");\nstyle.type = \"text/css\";\nvar head = document.head;\nhead.appendChild(style);\n\nstyle.sheet.insertRule(\"* { color: #xds!important; background-color: #029 !important; border-color: currentColor !important; }\");\n\ncompletion(true);")
	item "Purple Background ":
		runJavaScriptOnWebpage("var style = document.createElement(\"style\");\nstyle.type = \"text/css\";\nvar head = document.head;\nhead.appendChild(style);\n\nstyle.sheet.insertRule(\"* { color: #xds!important; background-color: #204 !important; border-color: currentColor !important; }\");\n\ncompletion(true);")
	item "Light Red Background ":
		runJavaScriptOnWebpage("var style = document.createElement(\"style\");\nstyle.type = \"text/css\";\nvar head = document.head;\nhead.appendChild(style);\n\nstyle.sheet.insertRule(\"* { color: #xds!important; background-color: #900 !important; border-color: currentColor !important; }\");\n\ncompletion(true);")
	item "Yellow Green Background ":
		runJavaScriptOnWebpage("var style = document.createElement(\"style\");\nstyle.type = \"text/css\";\nvar head = document.head;\nhead.appendChild(style);\n\nstyle.sheet.insertRule(\"* { color: #xds!important; background-color: #770 !important; border-color: currentColor !important; }\");\n\ncompletion(true);")
	item "Dark Red Backround":
		runJavaScriptOnWebpage("var style = document.createElement(\"style\");\nstyle.type = \"text/css\";\nvar head = document.head;\nhead.appendChild(style);\n\nstyle.sheet.insertRule(\"* { color: #xds!important; background-color: #300 !important; border-color: currentColor !important; }\");\n\ncompletion(true);")
	item "Black Background ":
		runJavaScriptOnWebpage("var style = document.createElement(\"style\");\nstyle.type = \"text/css\";\nvar head = document.head;\nhead.appendChild(style);\n\nstyle.sheet.insertRule(\"* { color: #aaa!important; background-color: #111 !important; border-color: currentColor !important; }\");\n\ncompletion(true);")
	}
	stop()
item "Other":
	run("ndsıdǝdoʍn ʇǝxʇ", nil)
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by virtual_helper

See All

You Might Also Like

See All
Advertisement