ShareShortcuts

View HTML

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

0you
Fork “View HTML”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så 0you får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
19K
Gemt
1
Handlinger
30
Kategori
API
Version
1.4
Sprog
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.

Nyheder

Version 1.4

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

Versionshistorik
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. okt. 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. okt. 2024

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

1.1 30. okt. 2024

🔥 | Hot fix for the updater.

1.0 30. okt. 2024

First release

Hvad den gør

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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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)
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra 0you

Se alle

Du vil måske også kunne lide

Se alle
Annonce