SE Preview on hover

Shows preview of the linked questions/answers on hover

当前为 2022-10-05 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
woxxom
评分
0 0 0
版本
1.1.7
创建于
2017-02-13
更新于
2022-10-05
大小
56.6 KB
许可证
MIT
适用于
  • The preview is shown while a link to a SE question or SE answer is hovered (the mouse cursor shouldn't move for at least 200ms). Also when hovering "# answers" block on the left in question list on SE sites.

  • To disable it press and hold any modifier key like Ctrl, Alt, Shift etc. TODO: add an option to reverse the behavior so that the preview is shown only while a modifier is held.

  • The preview can be "pinned" by quickly moving mouse cursor over it. TODO: add a pin button and a persistent mode for wide screens with the main page content shifted to the left.

  • Esc key closes the preview if it's focused via clicking or right after it's shown.

  • The preview may be resized by clicking its top border

  • Questions with answers have a shelf on the bottom with links to the answers. Clicking such an answer link replaces the preview. Clicking the preview title goes back to the question.

  • Inside the preview clicking a link to SE content will replace the preview, such links are underlined.

  • The data is cached internally for at least a minute for today's posts, more for the older ones. TODO: add a button to refresh the preview or do it automatically when the title/answer link is clicked.