ShareShortcuts

Site-Surfer

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

d00pity
Fork “Site-Surfer”

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å d00pity 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
27K
Gemt
2
Handlinger
79
Kategori
Sociale netværk
Version
1.0
Sprog
EN

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

Nyheder

Version 1.0

First release

Versionshistorik
1.0 4. jan. 2024

First release

Hvad den gør

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

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/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)
	}
}
Å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 d00pity

Se alle

Du vil måske også kunne lide

Se alle
Annonce