Last active
November 5, 2023 21:10
-
-
Save bloodywing/1c5360708291272d11b1576d25ac7a1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Remove Artfol CW | |
| // @namespace https://www.artfol.co/sloppytentacles | |
| // @version 0.2 | |
| // @description Removes the content warning on artfol | |
| // @author Bloodywing | |
| // @match https://www.artfol.co/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=artfol.co | |
| // @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js | |
| // @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
| // @downloadURL https://gist.github.com/bloodywing/1c5360708291272d11b1576d25ac7a1f/raw/artfolblur.user.js | |
| // @updateURL https://gist.github.com/bloodywing/1c5360708291272d11b1576d25ac7a1f/raw/artfolblur.user.js | |
| // @grant none | |
| // @run-at window-load | |
| // ==/UserScript== | |
| waitForKeyElements ("*[class^=Image_warning]", remove_blur); | |
| function remove_blur(el) { | |
| el.css('z-index', -1000); | |
| $('*[class^=Image_child]').css('filter', 'none'); | |
| $('*[class^=Image_child]').css('margin', '0'); | |
| $('*[class^=Image_child]').css('width', '100%'); | |
| $('*[class^=Image_child]').css('height', '100%'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment