// ==UserScript==
// @name CodePad | New Snipped Hack
// @version 1.0.0
// @description When creating a new CodePad snippet, the default language will be set to 'JavaScript'.
// @author Uunknownn
// @match https://codepad.co/snippet
// @grant none
// ==/UserScript==
(function(){
document.getElementsByClassName("icn-arrow-down")[0].parentElement.innerHTML="<span>JavaScript<i class=\"icn-arrow-down\"></i></span>";
document.getElementById("snippet_type_id-193").checked=true;
})();
[Tampermonkey Extension] When creating a new CodePad snippet, the default language will be set to 'JavaScript'.
4 Responses
Write a comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.