tokiwa
個人用CSS, Script
https://kiito.me/assets/img/icons/kiito.png
User CSS
ソース表示有効化
code:style.css
.page * {
pointer-events: auto;
}
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);
}