NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Make Birthday Hat transparent on 4chan // @namespace https://openuserjs.org/scripts/shadofx // @version 0 // @description If you're feeling festive but still want to see the image // @match https://boards.4chan.org/* // @copyright 2018, shadofx (https://openuserjs.org//users/shadofx) // @updateURL https://openuserjs.org/meta/shadofx/Make_Birthday_Hat_transparent_on_4chan.meta.js // @grant none // @license MIT // ==/UserScript== // ==OpenUserJS== // @author shadofx // ==/OpenUserJS== let date = new Date().toJSON().slice(5,10) if(date == "09-30" ||date == "10-01" || date == "10-02") { document.querySelectorAll('img[src*="//s.4cdn.org/image/partyhat.gif"]').forEach((c)=>c.style="opacity:.2") }