你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/485608-reddit-nsfw-unblur/versions,源站連結 點此以跳轉。
Unblur nsfw in Shreddit
这些是此脚本变更过代码的版本。 显示所有版本。
feat: Enhance spoiler unblur for rich content on Reddit
Improve spoiler unblur logic to correctly handle rich content containers (shreddit-blurred-container[reason='spoiler']) with and without the mode='wrap' attribute, and ensure the inline spoiler element (shreddit-spoiler) is revealed.
shreddit-blurred-container[reason='spoiler']
mode='wrap'
shreddit-spoiler
@version
3.0.2a
3.0.3
CONFIG.ON_ELEMENTS
:not([mode='wrap'])
[mode='wrap']
fix(init): Correct toggle popup logic to prevent accidental closure
wrapper
initToggles
open/close
popupToggle
user-select: none;
#unblur-toggles-wrapper-main
3.0.1
refactor: Improve mutation observer performance and logic
CONFIG.CSS_SELECTOR
node.querySelectorAll()
mutationsHandler
Object.keys()
shreddit-blurred-container
attributes
node.querySelectorAll(CONFIG.CSS_SELECTOR).forEach(onElement)
0.5.9a
feat(userscript): refactor Reddit NSFW Unblur to v2.5.0
fix: update script version to 2.4.3 and refactor resource loading
Added icon
Updated version
Updated userjs
Fix always disconnect observer. Update version metadata
Check element
Removed addStyle in code, instead use link tag
Using await instead then()
Version update
Use getElementsByTagName and array methods, instead querySelector, in some items
Update 2.3.9
At all
Update version
Remove overlay blurred in thumbs Variable state name changed Some small improvements
Fix button cropped text
Fix menu button not appear when disable
Does not run in iframes
Fix button overflowing the parent element
Fix menu button not appearing.
Fix not blocking loader nsfw in mobile. Append unblur button in navbar. Add styles for unblur and pointer if status is on. Added media query to fix style.
Observing the document before the DOM loaded
Prevent opening post when click on video
:/
Using a better method to blur the content and not, maybe?
Reverted commit because other method have some problems
Fix not founding prompt
Remove prompt
Improve?
Using setInterval instead observer
Fixed running in new.reddit.com.
new.reddit.com
Fix only append element if exists
Fix height content in spoiler text. Fix line-clamp in spoiler text. Not append if revealed alredy exists.
Added menu. Trying to improve code performance. Some bugs fixes.
Using fixed in button menu
Added homepage in userscript
Remove reveladed cloned if it already exists
Fix to remove the overlay
Using MutationObserver to improve speed when detecting blurred content, and cloning the content before it is removed by the shell
Improve some parts