text: javascript:(function(){var a=document.createElement("script");a.src="https://genbuproject.github.io/Programs/DOM Extender/DOM Extender v3.4.js";a.addEventListener("load",function(){var a=new DOM("$.compose-form"),f=new DOM("Div",{id:"utilBtn",children:[new DOM("Div",{id:"utilBtn__tokenHolder",children:[new DOM("Input",{id:"utilBtn__tokenHolder__input--accessToken",classes:["search__input"],attributes:{Type:"Text",Value:localStorage.getItem("com.GenbuProject.UtilBtns.accessToken")||"",PlaceHolder:"\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3"}}),new DOM("Button",{id:"utilBtn__tokenHolder__button--auth",classes:["button","utilBtn__button"],text:"\u8a8d\u8a3c",events:{click:function(){localStorage.setItem("com.GenbuProject.UtilBtns.accessToken",document.getElementById("utilBtn__tokenHolder__input--accessToken").value)}}})]})]}),e=new Style({"#utilBtn":{"Padding-Top":"10px"},"#utilBtn > *":{"Margin-Bottom":"1em"},"#utilBtn__tokenHolder":{Display:"Flex"},"#utilBtn__tokenHolder__input--accessToken":{Flex:1}});a.appendChild(f);a.appendChild(e);[{id:"utilBtn__button--goji",text:"\uff7a\uff9e\uff7c\uff9e\uff93\uff98\uff68\uff68\uff68\uff68\uff68\uff68!!!",onclick:function(b,d){b.value="#\u8aa4\u5b57\u306b\u6deb\u5922\u53a8\r\n:goji:";d.click()}},{id:"utilBtn__button--harukin",text:"\u306f\u308b\u304d\u3093\u713c\u5374",onclick:function(b,d){var a=Math.random.randomInt(1,6),c="";switch(Math.random.randomInt(1,2)){case 1:c=":harukin: ";break;case 2:c=":harukin_old: "}b.value=[c.repeat(a),"\ud83d\udd25 ".repeat(a)].join("\r\n");d.click()}},{id:"utilBtn__button--tootRate",text:"\u30c8\u30a5\u30fc\u30c8\u7387\u6295\u7a3f",onclick:function(b,a){var d=JSON.parse(DOM.xhr({type:"GET",url:"/api/v1/instance"}).response),c=JSON.parse(DOM.xhr({type:"GET",url:"/api/v1/accounts/verify_credentials",params:{access_token:localStorage.getItem("com.GenbuProject.UtilBtns.accessToken")}}).response);b.value=["#\u30c8\u30a5\u30fc\u30c8\u7387","@"+c.username+" \u3055\u3093\u306e","\u30c8\u30a5\u30fc\u30c8\u7387\u306f"+(c.statuses_count/d.stats.status_count*100).toFixed(2)+"%\u3067\u3059\uff01","(Tooted from UtilBtns v4)"].join("\r\n");a.click()}},{id:"utilBtn__button--risa",text:"\u308a\u3055\u59c9\u3054\u6307\u540d",onclick:function(b,a){b.value="@RISA ";b.focus()}}].forEach(function(a){var b=new DOM("$Textarea.autosuggest-textarea__textarea"),e=new DOM('$.compose-form__publish-button-wrapper:Not([ID="utilBtn"]) > Button');f.appendChild(new DOM("Button",{id:a.id,classes:["button","button--block","utilBtn__button"],text:a.text,events:{click:function(){a.onclick(b,e)}}}))})});document.body.appendChild(a)})();