ShareShortcuts

Site-Surfer

Explore sites easily with Site-Surfer, bookmark sites, and even search saved sites!

d00pity
„Site-Surfer“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit d00pity die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
27K
Gesichert
2
Aktionen
79
Kategorie
Social Network
Version
1.0
Sprache
EN

Explore sites easily with Site-Surfer, bookmark sites, and even search saved sites! Easy and fun to use!

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 4. Jan 2024

First release

Was er macht

79 Aktionen
  1. Text
  2. Get File
  3. If
  4. Show Alert
  5. Ask for Input
    Hello, welcome to Site-Surfer! If I may ask what would you like to go by? (Doesn’t have to be a real name)
  6. Append to Text File
  7. Set Variable
    Name
  8. If
  9. Set Variable
    Name
  10. Choose from Menu
    Welcome back …! -------------------- 🏠 Home: 🏠
  11. Choose from Menu
    👨‍💻 Default Sites 👨‍💻
  12. Ask for Input
    Type a name for a site and we will see if we have the direct website. (If not you will be directed to google search) Or type “Back” to go back to the home page.
  13. If
  14. Run Shortcut
    Site-Surfer
  15. If
  16. If
  17. Open In Chrome
    com.google.chrome.ios
  18. If
  19. Open In Chrome
    com.google.chrome.ios
  20. Choose from Menu
    ✅ Saved Sites ✅
  21. Get File
  22. If
  23. Show Notification
    You currently have 0 saved sites, save a site in the home menu and come back.
  24. If
  25. Split Text
  26. Choose from List
  27. If
  28. Choose from Menu
    What do you want do to on this site?
  29. Choose from Menu
    Search Site
  30. Ask for Input
    What Would You Like To Search?
  31. Open In Chrome
    com.google.chrome.ios
  32. Choose from Menu
    Remove Site
  33. Choose from Menu
    Are you sure you want to remove this site from your saved sites?
  34. Choose from Menu
    Yes
  35. Get File
  36. Replace Text
  37. Save File
  38. Show Notification
    Removed site "…"
  39. Choose from Menu
    No
  40. Choose from Menu
    < Home
  41. Run Shortcut
    Porn-Finder
  42. If
  43. Show Notification
    Unable to search on this site as it has been removed.
  44. Choose from Menu
    ☑️ Save A Site ☑️
  45. Ask for Input
    What is the search URL for the site? (Example: https://m.youtube.com/results?sp=mAEA&search_query=) or type “Back” to go back to the home page.
  46. If
  47. Run Shortcut
    Porn-Finder
  48. If
  49. Append to Text File
  50. Show Notification
    Saved Site "…"
  51. Choose from Menu
    Change Name
  52. Ask for Input
    I’m sorry you don’t like the name “…” what do you wish to go by instead?
  53. Get File
  54. Delete Files
  55. Append to Text File
  56. Choose from Menu
    🪪 Change Name 🪪
  57. Ask for Input
    I am sorry you are unhappy with the name “…” what do you want to go by instead?
  58. Get File
  59. Delete Files
  60. Append to Text File
  61. Show Notification
    Successfully changed name to "…"
  62. Choose from Menu
    ⚙️ Configuration ⚙️
  63. Choose from Menu
    What would you like to configure?
  64. Choose from Menu
    Edit saved sites manually
  65. Get File
  66. If
  67. Show Notification
    You have no saved sites to configure.
  68. If
  69. Split Text
  70. Choose from List
  71. Ask for Input
    What do you want the new site to be?
  72. Get File
  73. Replace Text
  74. Save File
  75. Show Notification
    Successfully updated site to "…"
  76. Choose from Menu
    Reset all Site-Surfer data
  77. Show Alert
  78. Get File
  79. Delete Files

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#include 'actions/documents'
#define color teal
#define glyph waveform

const File = getFileFromFolder(, "Site-Surfer/Name.txt", false)

if !File {
	confirm()
	prompt("Hello, welcome to Site-Surfer! If I may ask what would you like to go by? (Doesn’t have to be a real name)")
	appendToFile("Site-Surfer/Name.txt")
	@Name
} else {
	@Name = File
}

menu "Welcome back {@Name}!\n--------------------\n     🏠 Home: 🏠 " {
item "👨‍💻 Default Sites 👨‍💻":
	const ProvidedInput = prompt("Type a name for a site and we will see if we have the direct website. (If not you will be directed to google search) Or type “Back” to go back to the home page.")
	if ProvidedInput == "Back" {
		runSelf(ProvidedInput)
	} else {
		if ProvidedInput == "YouTube" {
			rawAction("com.google.chrome.ios.OpenInChromeIntent", {
				"url": "https://m.youtube.com/"
			})
		} else {
			rawAction("com.google.chrome.ios.OpenInChromeIntent", {
				"url": "https://www.google.com/search?q={ProvidedInput}"
			})
		}
	}
item "✅ Saved Sites ✅":
	const File1 = getFile("Site-Surfer/SavedSites.txt", false)
	if !File1 {
		showNotification("You currently have 0 saved sites, save a site in the home menu and come back.", File1)
	} else {
		const SplitText = splitText(File1)
		const ChosenItem = chooseFromList(SplitText, "What site do you want to search on?", false)
		if ChosenItem != "❌Removed Site❌" {
			menu "What do you want do to on this site?" {
			item "Search Site":
				const ProvidedInput1 = prompt("What Would You Like To Search?")
				rawAction("com.google.chrome.ios.OpenInChromeIntent", {
					"url": "{ChosenItem}{ProvidedInput1}"
				})
			item "Remove Site":
				menu "Are you sure you want to remove this site from your saved sites?" {
				item "Yes":
					getFile("Site-Surfer/SavedSites.txt")
					const UpdatedText = replaceText(ChosenItem, "❌Removed Site❌", true, false)
					saveFile("Site-Surfer/SavedSites.txt", UpdatedText, true)
					showNotification("Removed site \"{ChosenItem}\"", ProvidedInput1)
				item "No":
				}
			item "< Home":
				runSelf(ChosenItem)
			}
		} else {
			showNotification("Unable to search on this site as it has been removed.", ChosenItem)
		}
	}
item "☑️ Save A Site ☑️":
	const ProvidedInput2 = prompt("What is the search URL for the site? (Example: https://m.youtube.com/results?sp=mAEA&search_query=) or type “Back” to go back to the home page.")
	if ProvidedInput2 == "Back" {
		runSelf(ProvidedInput2)
	} else {
		const AppendedFile = appendToFile("Site-Surfer/SavedSites.txt", ProvidedInput2)
		showNotification("Saved Site \"{ProvidedInput2}\"", AppendedFile)
	item :
		prompt("I’m sorry you don’t like the name “{@Name}” what do you wish to go by instead?")
		const File2 = getFile("Site-Surfer/Name.txt")
		deleteFiles(File2, true)
		appendToFile("Site-Surfer/Name.txt")
	}
item "🪪 Change Name 🪪":
	prompt("I am sorry you are unhappy with the name “{@Name}” what do you want to go by instead?")
	const File3 = getFile("Site-Surfer/Name.txt")
	deleteFiles(File3, true)
	const AppendedFile1 = appendToFile("Site-Surfer/Name.txt")
	showNotification("Successfully changed name to \"{}\"", AppendedFile1)
item "⚙️ Configuration ⚙️":
	menu "What would you like to configure?" {
	item "Edit saved sites manually":
		const File4 = getFile("Site-Surfer/SavedSites.txt", false)
		if !File4 {
			showNotification("You have no saved sites to configure.", File4)
		} else {
			const SplitText1 = splitText(File4)
			chooseFromList(SplitText1, "Configurate saved sites:")
			prompt("What do you want the new site to be?")
			getFile("Site-Surfer/SavedSites.txt")
			const UpdatedText1 = replaceText()
			const SavedFile = saveFile("Site-Surfer/SavedSites.txt", UpdatedText1, true)
			showNotification("Successfully updated site to \"{}\"", SavedFile)
		}
	item "Reset all Site-Surfer data":
		confirm("Are you sure you want to reset all Site-Surfer data? This will wipe name, saved sites, ext... (THIS CANNOT BE UNDONE)")
		const File5 = getFile("Site-Surfer")
		deleteFiles(File5)
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von d00pity

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung