New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mpa-enhancer

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpa-enhancer

Minimalist JavaScript to make your MPA work that much better

  • 2.1.1
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

MPA Enhancer

Minimalist JavaScript to make your MPA work that much better

On reloading of a page will scroll back to where the user left off and focus on the last element they were looking at.

Under 1 kB of minified JavaScript.

Example TODO MVC application.

Change Log

2.1.1:

Fixed no element to focus on skipping scroll.

2.1.0:

When an element is hidden before reload still collect its information before reload and use that instead of the body element.

2.0.0:

Changed the order from scrolling first to focus on what was focused before first.

FAQs

Package last updated on 25 Aug 2023

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc