From c1592029768f0e4db5ed4029700382eeebb88470 Mon Sep 17 00:00:00 2001 From: Servbot91 Date: Tue, 3 Mar 2026 21:54:30 -0500 Subject: [PATCH 1/2] Added Support for Stash-Battle and HotorNot Plugin Integration for additional plugins such as Stash Battle and Hot or Not. Preserves integrity of the plugin and since it is CSS, it has no impact if the plugins are not installed. --- plugins/SFWSwitch/sfw.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/plugins/SFWSwitch/sfw.css b/plugins/SFWSwitch/sfw.css index a8cc23e3..df52a35d 100644 --- a/plugins/SFWSwitch/sfw.css +++ b/plugins/SFWSwitch/sfw.css @@ -34,6 +34,17 @@ img.performer, /* tag */ .tag-card-image +/* Stash Battle */ +.pwr-scene-image-container, +.pwr-scene-image-container, +.pwr-hover-preview, +.pwr-scene-image-container .pwr-scene-image, + +/* HotOrNot */ +.hon-performer-image, +.hon-scene-image, +.hon-image-image-container, +.hon-image-image { filter: blur(30px); } @@ -111,6 +122,17 @@ img.performer:hover, /* tag */ .logo-container > .logo:hover, .logo-container:hover > h2 + +/* StashBattle */ +.pwr-scene-image-container:hover, +.pwr-scene-image-container:hover .pwr-hover-preview, +.pwr-scene-image-container:hover .pwr-scene-image, + +/* HotOrNot */ +.hon-performer-image:hover, +.hon-scene-image:hover, +.hon-image-image-container:hover, +.hon-image-image:hover { filter: blur(0px); } From 41eeb65fe143b609cf519e6434424713af7428b8 Mon Sep 17 00:00:00 2001 From: Servbot91 Date: Tue, 3 Mar 2026 21:55:17 -0500 Subject: [PATCH 2/2] Bump version from 1.3 to 1.4 Bump for additional plugin support: Hot or Not and Stash Battle --- plugins/SFWSwitch/sfwswitch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/SFWSwitch/sfwswitch.yml b/plugins/SFWSwitch/sfwswitch.yml index 9c4b7171..166c2aed 100644 --- a/plugins/SFWSwitch/sfwswitch.yml +++ b/plugins/SFWSwitch/sfwswitch.yml @@ -1,9 +1,9 @@ name: SFW Switch description: Add a button to blur covers and images. -version: 1.3 +version: 1.4 url: https://discourse.stashapp.cc/t/sfw-switch/4658 ui: javascript: - sfw.js css: - - sfw.css \ No newline at end of file + - sfw.css