链接预览

鼠标指向链接标识图标预览链接网页

These are versions of this script where the code was updated. Show all versions.

  • v2.5 22.11.2024.

    2024-11-22 v2.5:对可直接预览的视频,预览窗会按视频比例自动调整大小;增加关联域名预览窗大小设置功能;优化预览窗位置自动调整机制,限制预览窗最小宽高。| When previewing supported video link, the preview window will auto resize itself to fit video aspect; add domain-related preview window size setting function; optimize preview window auto positioning mechanism and add minimal width and height limits.

  • v2.5 22.11.2024.

    2024-11-22 v2.5:对可直接预览的视频,预览窗会按视频比例自动调整大小;增加关联域名预览窗大小设置功能;优化预览窗位置自动调整机制,限制预览窗最小宽高。|

  • v2.4 08.09.2024.

    2024-09-08 v2.4: 修正悬停预览模式下链接预览样式被误触发的问题,修正已有钉住的预览窗时依然随新链接移动的问题。 | Fix link style mis-triggered problem under hover mode; fix preview window repositioning problem when previewing new link even when the preview window is pinned while visible.

  • v2.3 05.09.2024.

    - 2024-09-05 v2.3:修正预览窗标题栏按钮大小;添加快捷键切换临时开关功能。| Fix title bar button display problem of the preview window; add shortcut key for the switch for preview function.

  • v2.2 03.09.2024.

    - 2024-09-03 v2.2:修正图标大小在某些页面变形的问题;增加临时开关;增加iframe应对能力,使新标签页打开预览的页面功能完全正常,且在iframe中的链接能在主页面进行预览(不局限在iframe中)。 | Fix a bug that the preview icon will be mal-resized on some pages; add temporal switch for preview function; add functions to deal with iframe, thus the "open in a new tab" button can now open the exact web location being previewed, and links within iframe can now be previewed in the top page.

  • v2.1 29.07.2024.

    2024-07-29 v2.1: 修正钉住状态切换无效的bug;修正在新页面打开的URL不随预览窗实际URL的bug;调整预览图标等待延时机制;增加可预览链接交互效果;增加将被预览链接记入历史功能及开关[recordPrevHist]。*后修:在链接和当前页面不同源时预览不显示。 | Fix a bug causing pinned state ineffectiveness; fix a bug that open-in-new-page function opening not the current URL in preview window; adjust the delay mechanism for small links; add style to previewable links for hovering; add in-code switch [recordPrevHist] to record URL previewed into History. *Additional: bug fix for not showing preview window when encoutering crossing origin error.

  • v2.1 29.07.2024.

    - 2024-07-29 v2.1: 修正钉住状态切换无效的bug;修正在新页面打开的URL不随预览窗实际URL的bug;调整预览图标等待延时机制;增加可预览链接交互效果;增加将被预览链接记入历史功能及开关[recordPrevHist]。| Fix a bug causing pinned state ineffectiveness; fix a bug that open-in-new-page function opening not the current URL in preview window; adjust the delay mechanism for small links; add style to previewable links for hovering; add in-code switch [recordPrevHist] to record URL previewed into History.

  • v2.0 02.05.2024.

    2024-05-02 v2.0 应对谷歌,调整寻找链接机制,增加异常链接排除;应对部分页面自刷新导致图标显示异常情况(有可能需鼠标扫过才恢复);图标激活效果改为变色反白;代码增加可选开关:[closeOnScoll]预览窗外滚动关闭预览窗。 | In order to be compatible with Google, adjust link searching mechanism and exclude special links; for some page having self-refreshing action that cause icon abnormally, add resuming mechanism (sometimes moving cursor over is needed); icon will change color while invert itself when hovered; add in-code switch [closeOnScoll] for an option to close the preview window when scrolling outside of it.

  • v1.9 23.02.2024.

    2024-02-23 v1.9 修复忽略掉含有target属性链接的bug。 | Fix a bug causing links with 'target' attribute to be neglected.

  • v1.8 22.02.2024.

    2024-02-22 v1.8 针对折行文本优化图标位置算法;增加新标签页打开按钮;增加左侧调整大小手柄;增加默认钉住预览窗选项。 | Optimize algorithm for setting the position of the icon for wrapped text; add button to open the page in the preview window in a new tab; add a resizing handle on the left; add menu option to switch between default pinned mode or not.

  • v1.7 01.02.2024.

    2024-02-01 v1.7 增加切换点击还是悬停预览的菜单项。 | Add menu option to switch between click and hover mode.

  • v1.6 31.01.2024.

    2024-01-31 v1.6 修正因默认放大率导致视频预览时跳动问题(只影响已应对的视频网站且放大才明显故一直没发现)。 | Fix video preview jiggling problem.

  • v1.5 31.01.2024.

    2024-01-31 v1.5 修正避免重复触发预览的算法,修正预览窗标题显示不全问题;在mega和github上禁用。 | Fix the method to prevent repeating preview activation; fix incomplete title text problem; disabled on mega and github by default.

  • v1.4 12.01.2024.

    2024-01-12 v1.4 增加小面积链接的触发延时,减少误触;改进图标、预览窗定位算法;应对视频网站链接;增加钉住按钮。 | Prolong activation delay for links with small visual size to prevent accidental activation; improve positioning methods for icons and the preview window; direct preview video for Bilibili links; add pinning button.

  • v1.2 02.01.2024.

    2024-01-02 v1.2 优化样式,优化图标位置算法。 | Optimize styles; optimize algorithm for setting the position of the icon.

  • v1.1 01.01.2024.

    2024-01-01 v1.1 修正有时预览窗大小过小问题,调整预览窗放大率。 | Fix the bug causing too-small preview window size; adjust preview window scaling rate.

  • v1.0 30.12.2023.

    2023-12-31 v1.0 在0.2版基础上,实现了预览窗口拖动移动、拖动调整大小,添加了弹出、加载、关闭动画,优化了图标显示的位置,优化预览页面缩小效果。 | From the base of v0.2,added dragging to move / resize the preview window, added pop-in, loading, vanish animation effect, improved icon positioning method, improved previewed page scale-down effect.

  • v0.2 26.12.2023.
  • v0.2 26.12.2023.