Scanne avec ton iPhone pour installer
iSearch Concept
Nouveautés
Version 1.0
First release
Ce qu’il fait
19 actions-
Text
-
Search App Store
-
Choose from List
-
Set VariableSelected
-
Set VariableIcon
-
Dictionary
-
Dictionary
-
Filter Files
-
Repeat with Each
-
Search App Store
-
Set VariableImage
-
Get Dictionary Value
-
Set VariableLink
-
Text
-
Text
-
Base64 Encode
-
URLdata:text/html;base64,…
-
Open URLs
-
Show NotificationAdd this site to the homescreen(type iSearch and tap Add)
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/web'
#include 'actions/media'
#define glyph magnifyingGlass
const AppStoreApps = searchAppStore("Safari")
chooseFromList(AppStoreApps, "Press Safari to continue.")
@Selected
@Icon = @Selected
const Dicionar = {}
const Fiiere = filterFiles(Dicionar['Keys'], 1, "Name", "A to Z")
for _ in Fiiere {
searchAppStore(@RepeatItem)
@Image = ['Artwork URL']
@Link = Dicionar[@RepeatItem]
}
const Text = "<html>\n<head>\n<title></title>\n<link rel=\\"apple-touch-icon\\" sizes=\\"77px x 77px\\" href=\\"{@Icon}\\">\n\n <meta http-equiv=\\"Content-Type\\" content=\\"text/html; charset=UTF-8\\">\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\\" />\n <meta name=\\"apple-mobile-web-app-capable\\" content=\\"yes\\">\n <meta name=\\"apple-mobile-web-app-status-bar-style\\" content=\\"black-translucent\\">\n\n<style>\nbody {background: #F8F8FF; font: -apple-system-headline; padding: 20px;}\n\nh1 {font-size: 34pt; font-weight: bold;}\nh2 {background: #eaeaed; padding: 30px; border-radius: 20px;}\n\nImg {border-radius: 50%; margin: 20px; height: 77px; width: 77px;}\n\n</style>\n</head>\n<body>\n<h1></h1>\n{}\n </div>\n</form>\n\n<img src=dot.gif height=1 width=20>\n<p id=\\"rcorners\\">\n</style>\n<h2>iSearch</h2>\n<ul>\n</ul>\n</p>\n</body>\n</html>\n<form method=\\"get\\" action=\\"http://www.bing.com/search\\">\n<div style=\\"padding:26px;width:17em;\\">\n <table border=\\"1\\" align=\\"center\\" cellpadding=\\"5\\">\n <tr><td>\n <input type=\\"text\\" name=\\"q\\" size=\\"40\\" style=\\"color:#808080;\\"\n maxlength=\\"255\\" value=\\"Bing\\"\n onfocus=\\"if(this.value==this.defaultValue)this.value=''; this.style.color='black';\\" onblur=\\"if(this.value=='')this.value=this.defaultValue; \\"/>\n <input type=\\"submit\\" value=\\"Search🔍!\\" />\n <input type=\\"hidden\\" name=\\"bingsearch\\" value=\\".\\" /></td></tr>\n </table>\n<img src=dot.gif height=2 width=30>\n\n"
base64Encode(Text)
const URL = url("data:text/html;base64,{}")
openURL(URL)
showNotification("Add this site to the homescreen(type iSearch and tap Add)", URL)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de outlander-2007
Ça pourrait aussi te plaire
Publicité