codingjlu / a-e

Load local URLs in ⚡

Home Page:https://a-ejs.glitch.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a-eJS

Accelerating extreme attributes - go to a URL faster than you can blink. Demo.

Note: this only works for internal URLs (i.e. URLs to the same website).

Setup

Download the source from Github or grab the CDN:

<script src="https://cdn.jsdelivr.net/npm/a-e.js/a-e.min.js"></script>

Or install it via NPM:

npm i a-e.js

If importing or using commonjs sytax, simply go import "a-ejs" or require("a-ejs") without assigning a variable. There's no exports.

And that's it for the setup.

Usage

Just add the is="a-e" attribute to any HTML a tag:

<a href="/helloworld" is="a-e">Hello world</a>

And that's it!

See more documentation here.

About

Load local URLs in ⚡

https://a-ejs.glitch.me


Languages

Language:JavaScript 100.0%