Отсканируй на iPhone, чтобы установить
It’s easy: Paste the url you want to get the HTML from. That’s all!
This shortcut uses Swing Updater. It is highly recommend to install it.
Что нового
Версия 1.4
If you enter nothing, the shortcut will not run. Updated the URL for the Swing Updater shortcut on ShareShortcuts (automatic install).
Что делает
Действий: 30-
Ask for Input🕸️ | Enter the URL you wish to view the HTML code from.
-
If
-
Show Alert
-
Stop and Output
-
Make HTML from Rich Text
-
Choose from Menu❓ | What do you want to do?
-
Choose from Menu💾 | Save to files
-
Save File
-
Choose from Menu👀 | View HTML
-
Quick Look
-
Choose from Menu👀 | See this HTML in action
-
Show Alert
-
Set Name
-
Quick Look
-
Choose from Menu📥 | Save to clipboard
-
Copy to Clipboard
-
Get My Shortcuts
-
Filter Files
-
If
-
Choose from Menu⚠️ | Please install "Swing Updater" to keep this shortcut updated.
-
Choose from Menu⬇️ | Install from ShareShortcuts
-
Open URLs
-
Stop and Output
-
Choose from Menu⬇️ | Install from Routinehub
-
Open URLs
-
Stop and Output
-
Choose from Menu✖️ | Skip for now
-
If
-
Dictionary
-
Run ShortcutSwing Updater
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/text'
#define color red
const NachEingabeFragen = prompt("🕸️ | Enter the URL you wish to view the HTML code from.", "URL")
if !NachEingabeFragen {
confirm("✖️ | No URL = No HTML")
output("")
}
const HTMLAusFormatiertemText = makeHTML(NachEingabeFragen, false)
menu "❓ | What do you want to do?" {
item "💾 | Save to files":
saveFile("", HTMLAusFormatiertemText, false)
item "👀 | View HTML":
quicklook(HTMLAusFormatiertemText)
item "👀 | See this HTML in action":
confirm("ℹ️ | This will not look like the original page, because it's not executed on the server with the URL you entered.")
const UmbenanntesObjekt = setName(HTMLAusFormatiertemText, "HTML.html")
quicklook(UmbenanntesObjekt)
item "📥 | Save to clipboard":
setClipboard(HTMLAusFormatiertemText)
}
const MeineKurzbefehle = getShortcuts()
const Dateien = filterFiles(MeineKurzbefehle, 1)
if !Dateien {
menu "⚠️ | Please install \"Swing Updater\" to keep this shortcut updated." {
item "⬇️ | Install from ShareShortcuts":
openURL("https://shareshortcuts.com/download/726-swing-updater.html")
output("")
item "⬇️ | Install from Routinehub":
openURL("https://routinehub.co/shortcut/2692/")
output("")
item "✖️ | Skip for now":
}
} else {
const Wrterbuch = {
"Name": "View HTML",
"SS ID": 2963,
"Timeout": 15,
"Version": "1.4"
}
run("Swing Updater", Wrterbuch)
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от 0you
Вам также может понравиться
Реклама