ShareShortcuts

View HTML

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

0you
Dupliquer « View HTML »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que 0you soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
19K
Enregistré
1
Actions
30
Catégorie
API
Version
1.4
Langue
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.

Nouveautés

Version 1.4

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

Historique des versions
1.4 3 nov. 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 oct. 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 oct. 2024

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

1.1 30 oct. 2024

🔥 | Hot fix for the updater.

1.0 30 oct. 2024

First release

Ce qu’il fait

30 actions
  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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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)
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de 0you

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité