Title: Simple extension/userscript to automatically check certain "Additional Options" Post by: poly on March 03, 2013, 10:41:46 AM I've grown tired of checking the 'Don't use smilies' checkbox because I don't like how it looks, so I've made a simple userscript to automatically check it. It can also be used for other checkboxes too, like 'Return to this topic' or 'Notify me of replies'. Just change "check_smileys" to the ID of the checkbox.
JS: Quote window.onload = function(){ if(document.getElementById("check_smileys")){ document.getElementById("check_smileys").checked = true; } } (I told you it's simple! :) If you want it to be packaged in a chrome extension, use this as manifest.json: Quote { "manifest_version": 2, "name": "SMF Uncheck Smilies", "description": "A simple extension that automatically checks 'Don't use smilies.'", "version": "1.0", "permissions": [ "https://bitcointalk.org/" ], "content_scripts": [ { "matches": ["https://bitcointalk.org/*"], "js": ["content.js"] } ] } Then just load it unpacked in Chrome. |