ShareShortcuts

AdBlock S Installer

This is an installer for "AdBlock S Edition"

comuter
„AdBlock S Installer“ 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 comuter 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
21K
Gesichert
1
Aktionen
21
Kategorie
API
Version
1.0
Sprache
EN

This is an installer for "AdBlock S Edition"

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 17. Sep 2024

First release

Was er macht

21 Aktionen
  1. Random Number
  2. Ask for Input
    Please enter this captcha: …
  3. If
  4. Show Notification
    Checking internet connection...
  5. Get IP Address
  6. Wait
  7. If
  8. Show Notification
    Checking shortcuts...
  9. Wait
  10. Get My Shortcuts
  11. If
  12. Show Notification
    Installing shortcut...
  13. Wait
  14. Open URLs
  15. If
  16. Show Notification
    You already have AdBlock S Edition
  17. If
  18. Show Notification
    Please check your internet connection
  19. Stop This Shortcut
  20. If
  21. Run Shortcut
    AdBlock S Installer

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/web'
#include 'actions/shortcuts'
#include 'actions/network'
#define color darkgray
#define glyph downloadArrow

const RandomNumber = randomNumber(10000, 99999)
const ProvidedInput = prompt("Please enter this captcha: {RandomNumber}", "Number")

if ProvidedInput == RandomNumber {
	showNotification("Checking internet connection...", "Loading (1/3)", false)
	const CurrentIPAddress = getExternalIP()
	wait(3)
	if CurrentIPAddress {
		showNotification("Checking shortcuts...", "Loading (2/3)", false)
		wait(2)
		const MyShortcuts = getShortcuts()
		if MyShortcuts['Name'] !contains "AdBlock S Edition" {
			showNotification("Installing shortcut...", "Loading (3/3)", false)
			wait(0)
			openURL("https://www.icloud.com/shortcuts/850537ef17c94382bc5d5acbbd64a708")
		} else {
			showNotification("You already have AdBlock S Edition", "Error!", false)
		}
	} else {
		showNotification("Please check your internet connection", "Failed to install", false)
		stop()
	}
} else {
	runSelf(ProvidedInput)
}
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 comuter

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung