https://github.com/lexoyo/rediraction
Simple JS redirect for github pages
https://github.com/lexoyo/rediraction
hacking javascript
Last synced: 6 months ago
JSON representation
Simple JS redirect for github pages
- Host: GitHub
- URL: https://github.com/lexoyo/rediraction
- Owner: lexoyo
- Created: 2017-08-28T16:32:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T14:40:53.000Z (over 7 years ago)
- Last Synced: 2025-02-08T14:10:12.478Z (8 months ago)
- Topics: hacking, javascript
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## usage
Clone this repository and open this URL in a browser (replace `{your-github-name}` and `{any-url}`):
```
{your-github-name}.github.io/RedirAction/?delay=1000&text=wait a second you are being redirected&url={any-url}
```These params are optional:
* `url`
* `delay`
* `text`## Example with my clone:
Open this URL to be redirected to lexoyo.me after 1s:
`http://lexoyo.github.io/RedirAction/?delay=1000&text=wait a second you are being redirected&url=http://lexoyo.me`## why?
I needed this to have the time to open an URL on my phone, and share it before it is redirected. And this was to be able to track the IP of a stolen device with firefox sync enabled. Questions and comment are welcome in the issues.