Please turn on javascript in your browser to play chess.
Developers Forum

Developers Forum

  1. Standard member SwissGambit
    Caninus Interruptus
    20 Oct '12 06:47 / 1 edit
    Hi-

    I have created a new GreaseMonkey script for Firefox. It is designed to take any comment box in a PGN game viewer and move it from down below the board to the right of the board. It also makes the comment box larger so you don't have to scroll to read most comments.

    This is my first serious attempt at a GreaseMonkey script. I could use some beta testers to run this for a week or so and watch for any annoying bugs.

    Known issues: There is intentional extra space below the board, because if you post two viewers close together, the notation list goes out of alignment. This is a consequence of RHP's web design.

    Bugs:
    You can't click "headers" with another viewer close by, or the first board will overlap the second.

    Here is the link:
    https://docs.google.com/open?id=0B6pfCkwWfoGGZlFFRkRJUGh5Vk0

    I don't have one of those spiffy pop-ups that installs it for you. I'd say create a new GM script on any page that might have a PGN viewer and paste this code in it.

    See http://oi50.tinypic.com/qzlk0g.jpg for an example of how the side comments look.
  2. Standard member SwissGambit
    Caninus Interruptus
    22 Oct '12 00:29
    OK, I found a few more bugs, and came up with a better way to implement the idea. I incarcerate the PGN viewer in a table so the layout can't move around.

    I am going to clean up the code and test it for awhile myself before putting the new version out.