Scan with your iPhone to install
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!
What it does
18 actions-
Choose from Menu
-
Choose from MenuSafari
-
Choose from Menu
-
Choose from MenuBlue Backround
-
Run JavaScript on Web Page
-
Choose from MenuPurple Background
-
Run JavaScript on Web Page
-
Choose from MenuLight Red Background
-
Run JavaScript on Web Page
-
Choose from MenuYellow Green Background
-
Run JavaScript on Web Page
-
Choose from MenuDark Red Backround
-
Run JavaScript on Web Page
-
Choose from MenuBlack Background
-
Run JavaScript on Web Page
-
Stop This Shortcut
-
Choose from MenuOther
-
Run Shortcutndsıdǝdoʍn ʇǝxʇ
View as code
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
You Might Also Like
Advertisement