Add the ability to “click the next button with the arrow keys” so we don’t have to actually have to click the next button
For the meantime, here’s a tampermonkey script that does the same thing until it’s added :)
// ==UserScript==
// @name e621.net Arrow Keys
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://e621.net/posts/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=e621.net
// @grant none
// ==/UserScript==
(function () {
'use strict';
console.log(
'%cInjected into e621.net\nYou can now use your arrow keys to move scroll through posts',
'color: blue'
);
const clickOn = (sel) => document.querySelector(sel).click();
document.addEventListener('keydown', (e) => {
let url = new URL(window.location.href.toLowerCase());
const pool = url.searchParams.get('pool_id');
if (e.key === 'ArrowRight') {
if (pool) clickOn(`#nav-link-for-pool-${pool} > a.next`);
else clickOn('#nav-links-top > div > ul > li > a.next');
}
if (e.key === 'ArrowLeft') {
if (pool) clickOn(`#nav-link-for-pool-${pool} > a.prev`);
else clickOn('#nav-links-top > div > ul > li > a.prev');
}
});
})();
Edit: now know that A and D now move the posts the same way