[Script] WME ChatJumper

New day - new script :smiley:
This time something for chat users :wink:
When you click on chat user, to center map on chat user view this script will remeber your last position, and if you want return there, simply click green button ā€œjumpā€.
Red ā€œXā€ removes saved position.
Clicking/Jumping to new chat-user position dont remove or change this saved position. One, and only way to remove saved position is red button

Thanks for AlanOfTheBerg and sketch for inspiration in this topic.

http://pyrczak.pl/ChatJumper.user.js

2 Likes

Quick note to users of this: 1) it works as advertised in my testing, but 2) remember that if you click on a user, and then at any point use or load a permalink which refreshes the page, the ā€œjumpā€ link will also be removed.

New version 0.0.2 save position in localStorage (known as HTML5 storage etc), so if you not turn off HTML5 Storage in Browser Settings position still will be remebered after page reload.

Seriously? Nice!

Tout simplement : MERCI !

Thanks, good job.

This is excellent! :smiley:

One thing I noticed, it would be nice to save the previous zoom level as well, so you’re actually looking at the same screen as before, not just centered on the same place. As it is now, I can start zoomed all the way out, go to someone, zoom in really far, and jump back, and I’ll be in the same place, only zoomed in very far. Maybe not so much of a problem, but if it’s the other way around — if you start zoomed in, go to a user, zoom out, and jump back — it might be easy to lose your place.

Great job!

Above all the functionality, this new script opens an opportunity for other ideas for improvement on something so useful as this chat window. Thank you very much, indeed.

Congrats… :smiley:
Great job!

great job man! congratz!

Very nice, an excellent tool when assisting others on chat.
A note that may not be related: when installed I was having trouble with the Live Users tab in Layers, it was turning off randomly when jumping around, may be another issue but wanted to put it out there in case someone else is experiencing the same thing.
Well done :smiley:

Hey! Is it possible to make something like a Jump History? Or maybe easier: clicking to jump back multiple times (not only among users live on the chat, but among search field results) ? That would be even greater! Thanks for your effort.

I love this new script. I love the fact I can help out as many editors as I can by jumping all around, then go back to what I was doing without having to search all over the map for it.

At last! Great.
Multiple jumps would be great too.

Does this script still work? I can’t seem to get it to do anything.

It’s working.

Thanks txemt, for responding to my query, my PMs and trying to help me.
I have established that I do NOT see any effect from installing WME ChatJumper, other than the line in tampermonkey showing it has been installed.

I tried disabling all other extensions, just in case one was interfering.
In each case, I did a F5 refresh on the WME window and tried clicking on a chat user.
I saw NO ā€˜JUMP’ choice added to the top of the window.

Is there something else I can try or information that might help narrow down the problem?
Using the standard WME in Win7 enterprise, 64 bit, up-to-date on patches,
Chrome Version 35.0.1916.114 m ā€˜up-to-date’.

Hi, current CJ version is 0.0.4, so first check that you using the newest. (Tampermonkey should autoupdate it. Should… )
Second lets check that there are some errors.
Open editor, Hit F12 ,

  1. Select ā€œconsoleā€, and try find some red labeled errors. If there are some post it here (or PM if you warry about privacy, if there are any errors it dosn’t mean that the errors are related with Chatumper)
  2. Now lets check that CJ is initialized correctly: type (or Ctrl-C -> Ctrl-V, its case sensitive)
    ChatJumper
    and Hit enter.
  3. Type
    W.Presenter.ChatUser.prototype._onClick
    and Hit enter.
    Do the results look similar to this: http://i.imgur.com/Nc6uTVF.png ?

correct version

I double clicked on the program name in the tampermonkey list and clicked on the editor tab.

Try to load layout default
Failed to load resource: net::ERR_NAME_NOT_RESOLVED https://ssl.google-analytics.com/ga.js
Failed to load resource: net::ERR_CONNECTION_TIMED_OUT http://userscripts.org/images/script_icon.png
option: WARN: unable to find callback ā€˜lastI’ for id ā€˜0a37ac6b-2c32-42e8-a88d-1efd41d16381’ options.js:3

ChatJumper
ReferenceError: ChatJumper is not defined
message: ā€œChatJumper is not definedā€
stack: (…)
get stack: function () { [native code] }
set stack: function () { [native code] }
proto: Error

W.Presenter.ChatUser.prototype._onClick
ReferenceError: W is not defined
message: ā€œW is not definedā€
stack: (…)
get stack: function () { [native code] }
set stack: function () { [native code] }
proto: Error

Not very. :roll:
I can grab some screen shots, if you want them.

:o
W is a part of WME Editor. Not defied means that there is no Waze editor on this page.
Did you hit F12 on opened and Working WME Editor ?
What www adress are you using to open WME Editor ?