Scan med din iPhone for at installere
This is the first prototype version of a new browser
Nyheder
Version 1.0
First release
Hvad den gør
23 handlinger-
Get IP Address
-
If
-
Show Result
-
Stop This Shortcut
-
If
-
Show Result
-
Ask for InputWhat do you want to vearch? (For settings, type “Settings”.)
-
If
-
If
-
Set VariableWeb Name
-
Text
-
Set VariableURL
-
Get Contents of URL…
-
If
-
Show Result
-
Stop This Shortcut
-
If
-
Choose from MenuPick one:
-
Choose from MenuLoad Basic HTML
-
Quick Look
-
Choose from MenuQuick Show
-
Get Text from Input
-
Show Result
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/web'
#include 'actions/network'
#define color darkblue
#define glyph feed
const CurrentIPAddress = getExternalIP()
if !CurrentIPAddress {
show("Error %1%: No Wi-Fi detected.")
stop()
} else {
}
show("Hello, nice to see you again!")
const ProvidedInput = prompt("What do you want to vearch? (For settings, type “Settings”.)")
if ProvidedInput == "Settings" {
} else {
}
@WebName = ProvidedInput
@URL = "{@WebName}.com"
const ContentsOfURL = fileRequest(@URL, "GET")
if !ContentsOfURL {
show("Error 404: Unable to find URL.\nThis could happen because you don't have Wi-Fi or you have typed the wrong name of the website. It could also be because the website is temporarily down or has moved to another address.")
stop()
} else {
}
menu "Pick one:" {
item "Load Basic HTML":
quicklook(ContentsOfURL)
item "Quick Show":
getText(ContentsOfURL)
show()
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra vultario
Du vil måske også kunne lide
Annonce