ShareShortcuts

View HTML

It’s easy: Paste the url you want to get the HTML from

0you
Создать форк «View HTML»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы 0you получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
19K
Сохранено
1
Действия
30
Категория
API
Версия
1.4
Язык
EN

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).

История версий
1.4 3 ноя 2024 г.

If you enter nothing, the shortcut will not run. Updated the URL for the Swing Updater shortcut on ShareShortcuts (automatic install).

1.3 31 окт 2024 г.

Moved Update section from the top to the bottom. Your clipboard will be used as the URL. You can now view the HTML in action.

1.2 31 окт 2024 г.

Fixed the Updater System and added a prompt to download Swing Updater.

1.1 30 окт 2024 г.

🔥 | Hot fix for the updater.

1.0 30 окт 2024 г.

First release

Что делает

Действий: 30
  1. Ask for Input
    🕸️ | Enter the URL you wish to view the HTML code from.
  2. If
  3. Show Alert
  4. Stop and Output
  5. Make HTML from Rich Text
  6. Choose from Menu
    ❓ | What do you want to do?
  7. Choose from Menu
    💾 | Save to files
  8. Save File
  9. Choose from Menu
    👀 | View HTML
  10. Quick Look
  11. Choose from Menu
    👀 | See this HTML in action
  12. Show Alert
  13. Set Name
  14. Quick Look
  15. Choose from Menu
    📥 | Save to clipboard
  16. Copy to Clipboard
  17. Get My Shortcuts
  18. Filter Files
  19. If
  20. Choose from Menu
    ⚠️ | Please install "Swing Updater" to keep this shortcut updated.
  21. Choose from Menu
    ⬇️ | Install from ShareShortcuts
  22. Open URLs
  23. Stop and Output
  24. Choose from Menu
    ⬇️ | Install from Routinehub
  25. Open URLs
  26. Stop and Output
  27. Choose from Menu
    ✖️ | Skip for now
  28. If
  29. Dictionary
  30. Run Shortcut
    Swing 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

См. все

Вам также может понравиться

См. все
Реклама