Read the rules before proceeding!

Topic: E621 Pool Swimmer - Navigate Pools with arrow keys

Posted under e621 Tools and Applications

Hmm, does this tool still work? I can't seem to get it running.

Updated by anonymous

It doesn't appear that this works anymore since the text changed, but it wouldn't be unreasonable to add to the core site. I'll look into it.

Updated by anonymous

KiraNoot said:
It doesn't appear that this works anymore since the text changed, but it wouldn't be unreasonable to add to the core site. I'll look into it.

that would be cool. is it be possible to be made so that pressing arrow keys while writing a comment would not change page? because that was the only issue with pool swimmer

Updated by anonymous

rapturecast said:
Hmm, does this tool still work? I can't seem to get it running.

Like everything, remember to have the main thing, which in this case, GreaseMonkey.
Do you have the Plug-in installed into your browser?

mrnobodyman said:
Perfect for one-handed browsing *winkwink*

http://pastebin.com/juexx69W

Copy and paste into a text document
Save as e621.user.js
Drag and drop into a browser window
Assuming you have greasemonkey, click install

Something like this can be implicated into HTML5, the e621 Team could add something similar into the code of e621.

Updated by anonymous

FurryLover001 said:
Like everything, remember to have the main thing, which in this case, GreaseMonkey.
Do you have the Plug-in installed into your browser?

Something like this can be implicated into HTML5, the e621 Team could add something similar into the code of e621.

above my comment an admin declares that this extension does not function anymore after site changes and that they intended to add this function to e6 itself

Updated by anonymous

Mutisija said:
above my comment an admin declares that this extension does not function anymore after site changes and that they intended to add this function to e6 itself

They shouldn't use just the arrows keys as the shortcut though, I mean there are pools with flash games that use the arrow keys. - Unless Adobe Flash automatically overrides any keyboard buttons that it requires.

Updated by anonymous

FurryLover001 said:
They shouldn't use just the arrows keys as the shortcut though, I mean there are pools with flash games that use the arrow keys. - Unless Adobe Flash automatically overrides any keyboard buttons that it requires.

i dont think this is not an issue. up and down keys are reserved for scrolling up and down on page. the controls are given for the flash when its activated by clicking on it and you no longer scroll up and down when pressing these buttons. nothing prevents from doing this with right and left arrows.

Updated by anonymous

Mutisija said:
i dont think this is not an issue. up and down keys are reserved for scrolling up and down on page. the controls are given for the flash when its activated by clicking on it and you no longer scroll up and down when pressing these buttons. nothing prevents from doing this with right and left arrows.

Up/down is handled by the browser itself and left/right is handled by javascript though; it's reasonable to expect them to work differently.

Updated by anonymous

I would be interested to know if javascript-based actions fire or not when Flash is active. Flash is generally uncivilized so I wouldn't expect it to necessarily do the 'reasonable' thing here.

Updated by anonymous

TonyLemur said:
Up/down is handled by the browser itself and left/right is handled by javascript though; it's reasonable to expect them to work differently.

ah, alright

Updated by anonymous

On Firefox it's a properly sandboxed plugin, as long as the frame for flash is active (meaning has been clicked on) any and all button presses go only to flash and not the browser. Once you click outside of the flash all button presses go normally to the browser and not the flash frame on the current page.

Updated by anonymous

If this is to be implemented as core e621 I'd strongly recommend not using keys without a modifier for two reasons:

  • Accidental key presses (minor problems but still)
  • Not changing standard browser behavior, i.e. most browsers use key navigation to move the viewport (and I personally use this quite extensively) as well as text navigation.

As noted the event callback should ignore events whose target is interactive elements mostly text fields and text areas.

Made an updated working version, if anyone is interested:
http://pastebin.com/6Nv3fD9X

Updated by anonymous

So I can't believe anyone actually gave a squat about this.

I wrote some new code to handle the site changes a while ago.
This code is a little better than what I made before.
It doesn't wait for the page to load and it makes more sense.

http://pastebin.com/BYMuG9wU

Updated by anonymous

Chessax said:
If this is to be implemented as core e621 I'd strongly recommend not using keys without a modifier for two reasons:

  • Accidental key presses (minor problems but still)
  • Not changing standard browser behavior, i.e. most browsers use key navigation to move the viewport (and I personally use this quite extensively) as well as text navigation.

As noted the event callback should ignore events whose target is interactive elements mostly text fields and text areas.

Made an updated working version, if anyone is interested:
http://pastebin.com/6Nv3fD9X

https://pastebin.com/7Rue7g2t

new code added a ctrl key modifier.

Updated by anonymous

  • 1