Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imydou/yourls-safe-redirect
A security reminder is displayed before redirecting long links, and custom ads can be inserted on the reminder page.
https://github.com/imydou/yourls-safe-redirect
Last synced: 14 days ago
JSON representation
A security reminder is displayed before redirecting long links, and custom ads can be inserted on the reminder page.
- Host: GitHub
- URL: https://github.com/imydou/yourls-safe-redirect
- Owner: imydou
- License: mit
- Created: 2024-04-07T03:28:04.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-08T08:25:09.000Z (7 months ago)
- Last Synced: 2024-08-02T06:17:07.842Z (4 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Safe Redirect - A security reminder is displayed before redirecting long links, and custom ads can be inserted on the reminder page. (Plugins / S)
README
# [Safe Redirect] [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/)
A security reminder is displayed before redirecting long links, and custom ads can be inserted on the reminder page.
Requires [YOURLS](https://yourls.org) `1.9.2` and above.
## Usage
You can set whether to jump to the security reminder page based on the set User-Agent keyword to prevent errors in certain API short links.
You can set up HTML code to be inserted into the security reminder page, which can be marketing ads or other content. Some marketing ads must be valid under a specific domain name, and you can set a jump page relay domain name.
You can set a waiting time for automatic redirection.
## Installation
1. In `/user/plugins`, create a new folder named `safe-redirect`.
2. Drop these files in that directory.
3. Go to the Plugins administration page (eg. `http://sho.rt/admin/plugins.php`) and activate the plugin.
4. Have fun!## License
This package is licensed under the [MIT License](LICENSE).