Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ep_author_hover

Package Overview
Dependencies
Maintainers
6
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_author_hover

Adds author names to span titles (shows on hover), works as authors change their name. Hover includes author color and fast switching between author spans. Hat tip to Martyn York for the initial work on this.

  • 0.3.37
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
309
decreased by-30.25%
Maintainers
6
Weekly downloads
 
Created
Source

Publish Status Backend Tests Status

Show Author Name on hover

Hover over an author to see their name

Other functionality

Shows the author color on hover Supports fast switching between hovers (Doesn't depend on native browser support)

Settings

Disable/enable author hover locally in your browser

This plugin adds a new switch called Show Author on Hover to the settings menu. This allows you to disable/enable the display of author names on hover in your browser.

Disable author hover by default for all clients

To don't show the author names on hover by default (the user has to activate in manually), add the following to your setting.json:

  // disable author hover by default
  "ep_author_hover": {
    "disabledByDefault": true
  }

Why did I rewrite this?

I don't really like plugins that depdend on manipulating the ACE inner DOM, rewriting this plugin and using events meant I could still have hover functionality without the risk of running into nasty ACE issues down the line. It also meant that as new authors joined and updated their name I could update hte hovers in real time. Previous attempts at writing this plugin have required a browser refresh to know who authors are, that wasn't good enough for me.

TODO

  • use JQTip
  • Your ideas here..
  • Test in IE
  • Settings for font size/background color switch
  • Your sponsorship here..

FAQs

Package last updated on 18 Apr 2022

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