https://github.com/vx68k/redirect.js
Module script to redirect web browsers to another location without any server configuration.
https://github.com/vx68k/redirect.js
dom dom-api es-module es2017 es6-module javascript module
Last synced: 4 months ago
JSON representation
Module script to redirect web browsers to another location without any server configuration.
- Host: GitHub
- URL: https://github.com/vx68k/redirect.js
- Owner: vx68k
- Created: 2019-07-18T03:35:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T07:32:10.000Z (about 5 years ago)
- Last Synced: 2025-05-22T03:47:46.307Z (5 months ago)
- Topics: dom, dom-api, es-module, es2017, es6-module, javascript, module
- Language: JavaScript
- Homepage: https://vx68k.bitbucket.io/redirect.js/
- Size: 79.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Introduction
The `redirect.js` script redirects web browsers to another location *without
any server configuration*.
It is *not a script for Node.js* but for web browsers.## License
The `redirect.js` script is provided under the terms and conditions of the
[MIT License][MIT].[][MIT]
[MIT]: https://opensource.org/licenses/MIT
# Basic usage
The following HTML code will make modern web browsers redirected to the
location specified by the `canonical` link of the document.```html
```
## Deployment
Copy `redirect.min.js` (and `redirect.js`) from the `deploy` directory to your
web server.# See also
The [project home](https://vx68k.bitbucket.io/redirect.js/).