🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Redirect to Opener

Allow you to redirect customizable urls to the iOS Opener app.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

المؤلف
yodaluca23
التثبيت اليومي
0
إجمالي التثبيت
15
التقييمات
0 0 0
الإصدار
1.1
تم إنشاؤه
19-01-2025
تم تحديثه
01-04-2025
الحجم
4.09 KB
الترخيص
GNU GPLv3
ينطبق على
جميع المواقع

Redirect to Opener

Overview

Redirect to Opener is a userscript designed to enhance the browsing experience on iOS devices by redirecting customizable URLs to the Opener app. With this script, you can define specific websites or patterns, and the script will automatically redirect matching URLs to the Opener app for deeper linking with other apps on your device. This was tested with Orion Browser using Violent Monkey from FireFox addons store, on iOS 18, your mileage may vary.

Features

  • Add customizable URL patterns to redirect.
  • Manage and remove existing URL patterns via a menu interface.
  • Automatically detects matching URLs and redirects them to the Opener app.
  • Easy-to-use configuration menu for managing URL patterns.

How to Use

Opener App

  1. This userscript requires the Opener app for iOS, you must have it installed for it to work.
  2. This works by redirecting to the Opener apps deeplink on user specified urls and letting it handle the deeplinking for any other apps, so yes it is mandatory!

Add a Website to the Redirect List

  1. Open the userscript menu provided by your userscript manager.
  2. Click on "Add Website to Redirect List".
  3. Enter a URL or part of a URL (e.g., youtube.com) when prompted.
  4. The URL will be added to the redirect list.

Manage the Redirect List

  1. Open the userscript menu provided by your userscript manager.
  2. Click on "Manage Website List".
  3. A list of currently added URLs will be displayed.
  4. Enter the number corresponding to a URL to remove it from the list.

Automatic Redirect

  • Whenever you visit a URL that matches an entry in the redirect list, the script will redirect you to the Opener app with the URL encoded as a deep link.

Technical Details

  • Deep Link Format: The script constructs a URL for the Opener app using the format:
    opener://x-callback-url/show-options?url=<encoded-url>
  • Data Storage: The list of URLs is stored locally using the GM_setValue API.
  • Permissions Required:
    • @grant GM_setValue - For storing the redirect list.
    • @grant GM_registerMenuCommand - For adding menu commands to manage the script.