[Feature Request] Keyboard Shortcut.

Hi RWX and mods,

I want to request a feature for desktop site. I think it would be great if we can press right / left arrow to read the next / previous chapter.
And based on my quick research, implementing this feature could be easily done in less than 30 lines of code.


handleKeyPress = (event) => {
  if(event.key == "ArrowRight"){
    console.log('next chapter')
  }
  if(event.key == "ArrowRight"){
    console.log('prev chapter')
  }
}
render: function(){
     return(
         <div>
           <input type="text" id="one" onKeyPress={this.handleKeyPress} />
         </div>
     );
}
Thank you for reading this request. Regards, Jon.

Comments

  • You need to do control + arrow for WW.
  • edited May 2018
    You need to do control + arrow for WW.
    Ah! Why didn't I try that? Thanks for the information!
  • You need to do control + arrow for WW.
    Ah! Why didn't I try that? Thanks for the information!
    On the old site there was a information at the end of the chapter, now it's gone.
    Alternatively you can use Tampermonkey like plug-in for your browser and make it work just for you.
    I've a script that allows me to use arrow keys (w/o ctrl key) for WW and RRL.
Sign In or Register to comment.