Отсканируй на iPhone, чтобы установить
View a website within a notification window.
Do you need a way to view a website from an app or without having to open a new tab in your web browser?
Select the Quickview option from the Share menu and then enter the website you want to view.
The full URL is not necessary. Simply use example.com for the website you want to view.
*Quickview is read-only. You cannot interact with the website.
Что нового
Версия 1.0
First release
Что делает
Действий: 13-
Get File
-
If
-
Create Folder
-
Show Alert
-
Open URLs
-
Wait
-
Text
-
Close Tabcom.apple.mobilesafari
-
Show Alert
-
Ask for InputEnter website (name.com)
-
Text
-
URL
-
Show NotificationPress and hold to view.
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/documents'
#define color darkblue
#define glyph network
const File = getFileFromFolder(, "Quickview", false)
if !File {
createFolder("Quickview")
confirm("Run Initial Setup? ")
openURL("http://www.blackhatteams.com/p/quickview.html")
wait(6)
const Text = "Quickview"
rawAction("com.apple.mobilesafari.CloseTab", {
"AppIntentDescriptor": "",
"target": "Text"
})
confirm("Setup Complete! Run Shortcut? ")
}
prompt("Enter website (name.com) ")
const Text1 = "https://www.{}"
const URL = url(Text1)
showNotification("Press and hold to view. ", URL)
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от blackhatteam
Вам также может понравиться
Реклама