Отсканируй на iPhone, чтобы установить
First of all go to supervise.me and supervise your iDevice.
Что нового
Версия 1.0
First release
Что делает
Действий: 41-
Ask for InputEnter the text that will appear on the Lock Screen
-
If
-
Replace Text
-
Set VariableTM
-
If
-
Set VariableTM
-
Text
-
Split Text
-
Text
-
Set VariableUPD
-
Text
-
Set VariableCounter
-
Repeat
-
Get Item from List
-
Base64 Encode
-
Get Contents of Web Page
-
If
-
Text
-
Set VariableUPD
-
If
-
If
-
Split Text
-
Get Item from List
-
Base64 Encode
-
Get Item from List
-
Base64 Encode
-
If
-
Get Contents of URL…
-
Text
-
Replace Text
-
Base64 Encode
-
Calculate
-
Set VariableCounter
-
If
-
Show AlertDownload the latest update from supervise.me
-
Open URLs
-
If
-
Repeat
-
Open URLs
-
URL……
-
Open URLs
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/text'
#define color green
#define glyph lock
const ProvidedInput = prompt("Enter the text that will appear on the Lock Screen")
if ProvidedInput !contains "&" {
replaceText("&", "&", ProvidedInput)
@TM
} else {
@TM = ProvidedInput
}
const Text = "aHR0cDovL3N1cGVydmlzZS5tZS9tcnRhdmNpMDAx,aHR0cDovL3N1cGVydmlzZS5tZS9tcnRhdmNpMDAy"
const SplitText = splitText(Text, ",")
@UPD = "NO"
@Counter = "1"
repeat _ for 2 {
const ItemFromList = getListItem(SplitText, @Counter)
base64Encode(ItemFromList)
const ContentsOfWebPage = getWebpageContents()
if ContentsOfWebPage contains "DOWNLOAD BLOCKED" {
@UPD = "YES"
} else {
if ContentsOfWebPage contains "TElORVNFUEVSQVRPUg==" {
const SplitText1 = splitText(ContentsOfWebPage, "TElORVNFUEVSQVRPUg==")
const ItemFromList1 = getListItem(SplitText1, 2)
base64Encode(ItemFromList1)
const ItemFromList2 = getListItem(SplitText1, 1)
const Base64Encoded = base64Encode(ItemFromList2)
} else {
downloadURL()
const UpdatedText = replaceText("TVlTVFJJTkdIRVJF", @TM, false)
base64Encode(UpdatedText)
}
}
@Counter = @Counter + 1
}
if @UPD == "YES" {
alert("Update available", "Download the latest update from supervise.me")
openURL("supervise.me")
} else {
repeat _ for nil {
openURL(Base64Encoded)
const URL = url("{}{}")
openURL(URL)
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от outlander-2007
Вам также может понравиться
Реклама