tokiwa
編集者用CSS, Script
User CSS
code:style.css
@import url('/api/code/kiito-themes/編集者用CSS/style.css');
User Scripts
code:script.js
document.ontouchmove = function(e){
if(x > 4){ pressKey(39) }
if(x < 4){ pressKey(37) }
}
function pressKey( code ){
k = document.createEvent("Event");
k.initEvent("keydown", true, true);
k.keyCode = code;
document.getElementById( "text-input" ).dispatchEvent(k);
}