Greasy Fork is available in English.

Small Window Preview

Drag a link to open it in a popup window with a preview before opening, using Edge's prerendering technology. Also, add an acrylic effect behind the window when it's open.

Устаревшая версия за 29.08.2024. Перейдите к последней версии.


Установить этот скрипт?
Автор
##的勤务员
Оценки
000
Версия
2.4.0.10
Создано
23.08.2024
Обновлено
29.08.2024
Размер
26,0 КБ
Лицензия
нет данных
Работает на
всех сайтах
UserScripts

##的勤务员/UserScripts

脚本来自互联网广大网友,本人仅是做了些许改动.感谢网友如有侵权,联系必删,勤务员的脚本可供随意修改.
Gmail

GreasyForkTotal InstallsTotal Daily InstallsScripts CountGood RatingsOk RatingsBad Ratings

GithubcommitforksIssuelicenseCopyRight


starsStar Me请给我点星

给勤务员加#腿

Feature Introduction

🔗 Drag and Drop to Open Preview Window — Easily open and preview web links in a small window by dragging them, utilizing Edge's pre-read technology. The background of the small window features an acrylic effect to enhance visual appeal.

Menu Options Description

Options List

  1. Action Mode (actionMode)

    • Description: Sets the current action mode. Determines which mode to use based on the value of actionMode.
      • Action Mode 1: 1 - Triggers the preview window when the link is long-pressed.
      • Action Mode 2: 2 - Triggers the preview window when the link is dragged.
      • Default Action Mode: 0 - Defaults to enabling both of the above action modes.
  2. Long Press Duration (longPressDuration)

    • Description: Sets the duration of the long press action.
    • Action: setLongPressDuration, used to modify the long press duration in conjunction with Action Mode (actionMode).
  3. Blur Effect Enabled (blurEnabled)

    • Description: Enables or disables the background blur effect.
    • Action: toggleBlurEffect, used to enable or disable the blur effect.
  4. Blur Intensity (blurIntensity)

    • Description: Sets the intensity of the background blur.
  5. Close on Mouse Click (closeOnMouseClick)

    • Description: Closes the preview window when clicking the mouse in the main window (parent window of the preview window).
    • Action: toggleCloseOnMouseClick, used to enable or disable the setting to close the preview window on mouse click.
  6. Close on Scroll (closeOnScroll)

    • Description: Closes the preview window when scrolling the mouse wheel in the main window (parent window of the preview window).
    • Action: toggleCloseOnScroll, used to enable or disable the setting to close the preview window on mouse scroll.
  7. Window Width (windowWidth)

    • Description: Sets the width of the preview window. This configuration will override the set width when Save Window Configuration is enabled.
  8. Window Height (windowHeight)

    • Description: Sets the height of the preview window. This configuration will override the set height when Save Window Configuration is enabled.
  9. Show Countdown (showCountdown)

    • Description: When Action Mode (actionMode)=1 is enabled, displays a countdown progress bar below the mouse before the preview window is triggered by a long press. The time is set by Long Press Duration (longPressDuration).
    • Action: Used to enable or disable the countdown progress bar display.
  10. Save Window Configuration (saveWindowConfig)

    • Description: Used to remember and save the size and position configuration of the window, overriding the user-defined preview window height and width.

Each option is followed by a corresponding action function, which is used to update the menu settings. By clicking on an option, users can directly change the related configuration and see the effect immediately.

Supported Web Pages

🌐 Applicable to All Web Pages — Supports all web pages, allowing convenient link preview and opening functionality anytime, anywhere.

Script Highlights:

  • Acrylic Effect: Adds a beautiful background effect to the small window.
  • Link Pre-read: Accelerates loading using Edge's technology.
  • Configurable Options:
    • Adjustable blur effect intensity.
    • Customizable small window size.

Notes:

  • Clicking or scrolling on the page can automatically close the small window.
  • Experience it now!🚀 Enhance Browsing Efficiency — Install the script to enjoy intelligent link previews and aesthetically pleasing small windows!

1.png

Original Author

hiisme

使用帮助

更多用户脚本 /回到顶部↑