Socket
Book a DemoInstallSign in
Socket

anchors-away

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchors-away

Redirect an HTML page to another page including the anchors

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

anchors-away

Simple file to redirect an HTML page to another page including the anchors.

Since anchors are not sent to the server in regular web requests such that they can be detected and including in redirects, this HTML file includes some JavaScript which can do the job.

Usage

  • Clone this repository. (This is also available via npm i anchors-away, but as you'll wish to customize the URL, this approach is not very useful and only meant at the moment for discoverability.)
  • In index.html, alter the <a href> value to point to your desired webpage.
  • Optionally customize the rest of the page.

To-dos

  • Refactor as a module for importing into one's own HTML.

Keywords

anchors

FAQs

Package last updated on 13 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.