您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Embeds the clicked Image on the Current Site, so you can view it without loading the submission Page
A userscript that enhances image viewing on FurAffinity by providing an embedded image viewer. When any submission is clicked, instead of opening the page this script will embedd the clicked image on the current site. Also see docs on FA-Embedded-Image-Viewer.
Feature | Status |
---|---|
Embedded image viewer | ✅ Completed |
Preview quality settings ⠀⠀⠀⠀ | ✅ Completed |
Loading animations | ✅ Completed |
New tab opening | ✅ Completed |
Download functionality | ✅ Completed |
Zooming and panning | ✅ Completed |
openInNewTab
- Whether to open images in a new tab (default is true
)loadingSpinSpeedFav
- Controls the speed of the favorite loading animation (default is 600
)loadingSpinSpeed
- Controls the speed of the loading animation (default is 1000
)closeEmbedAfterOpen
- Whether to close the embed after opening in new tab (default is true
)previewQuality
- Controls the quality of the preview image (default is 3
)The EmbeddedImage class contains the following properties:
embeddedElem
- The main container element for the embedded viewersubmissionImg
- The image element showing the submissionfavRequestRunning
- Boolean indicating if a favorite request is runningdownloadRequestRunning
- Boolean indicating if a download request is runningstatic embeddedExists
- Boolean indicating if an embedded viewer is opened on the pageEvents:
remove
- Fired when the embedded viewer is removed