ShareShortcuts
Fork “Anti Revoke”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so imfromkkkk gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
23K
Saved
2
Actions
29
Category
API
Version
1.0
Language
EN

H

What's New

Version 1.0

First release

Version History
1.0 Oct 31, 2024

First release

What it does

29 actions
  1. Set Variable
    File
  2. Nothing
  3. Get Dictionary Value
  4. If
  5. Get IP Address
  6. If
  7. If
  8. Split Text
  9. Repeat with Each
  10. Calculate Expression
  11. Set Variable
    Latest Version
  12. Split Text
  13. Repeat with Each
  14. Calculate Expression
  15. Set Variable
    Current Version
  16. Nothing
  17. Choose from Menu
    Prevent Revokes using this DNS profile:
  18. Choose from Menu
    Bypass Revoke
  19. Choose from Menu
    DNS Profile(s)
  20. Choose from Menu
    DNS ☁️ (1)
  21. Show Web Page
  22. Open URLs
  23. Choose from Menu
    DNS ☁️ (2)
  24. Show Web Page
  25. Change Reader Mode State
    com.apple.mobilesafari
  26. Open URLs
  27. Choose from Menu
    DNS ☁️ (3)
  28. Show Web Page
  29. Open URLs

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#include 'actions/network'
#define color green
#define glyph gear

@File = ShortcutInput
nothing()
const True = getValue(Info, "Version Check")

if True == "Yes" {
	const CurrentIPAddress = getExternalIP("IPv4")
	if CurrentIPAddress {
		if Result contains "success" {
			const SplitText = splitText(Result['Version'], ".")
			for _ in SplitText {
				@LatestVersion = ((1/1000)^@RepeatIndex)*@RepeatItem+@LatestVersion
			}
			const SplitText1 = splitText(Info['Version'], ".")
			for _ in SplitText1 {
				@CurrentVersion = ((1/1000)^@RepeatIndex)*@RepeatItem+@CurrentVersion
			}
		}
	}
}
nothing()

menu "Prevent Revokes using this DNS profile:" {
item "Bypass Revoke":
	menu "DNS Profile(s)" {
	item "DNS ☁️ (1)":
		showWebpage("https://api.cococloud-signing.online/website/dns/config/cococloud-block-revokes.mobileconfig", false)
		openURL("prefs:root=General&path=ManagedConfigurationList/PurgatoryInstallRequested")
	item "DNS ☁️ (2)":
		showWebpage("https://api.cococloud-signing.online/website/dns/config/cococloud-block-revokes-v2.mobileconfig", true)
		rawAction("com.apple.mobilesafari.ChangeReaderModeState", {
			"AppIntentDescriptor": "",
			"changeOperation": "disable"
		})
		openURL("prefs:root=General&path=ManagedConfigurationList/PurgatoryInstallRequested")
	item "DNS ☁️ (3)":
		showWebpage("https://api.cococloud-signing.online/website/dns/config/cococloud-block-revokes(v3).mobileconfig")
		openURL("prefs:root=General&path=ManagedConfigurationList/PurgatoryInstallRequested")
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

You Might Also Like

See All
Advertisement