EyeWire Stats - another TamperMonkey script

Very cool! I have noticed though that it may not be working properly on Firefox. The save button doesn’t respond when I try to add an image or fill in the text, and several options seem to be missing.

Capture1

1 Like

I have to admit, I didn’t test it on Firefox at all. I wanted to publish it ASAP to have some response, to know, what works, what doesn’t; what should be changed, added or removed.
Thanks for the report!

1 Like

I tried 2-3 times to install it but every time this happens:ew3

Looks, like you downloaded the file from the link and then double-clicked it to open. It’s not the way, how the scripts should be installed.
First, you have to install the TamperMonkey addon for Chrome or Firefox, then click on the link for the script. It should redirect you to a TamperMonkey page, where should be an “Install” button. Click that button, refresh EyeWire page and the script should work.

1 Like

TBH, Eyewire for Firefox seems pretty dirty overall, with the scrollbars and dropdowns and CSS, but I guess that’s a topic for another time.

1 Like

Maybe ppl should just be directed to chrome for ew. Fixes can happen to make the site universal, but it takes forever to go on each browser each time to update the compatibilities lol.

Fundamentally we support/recommend Firefox alongside Chrome; sometimes Chrome is less stable than Firefox. However I agree that there can be some better aesthetics in Chrome.

I’ve made some tests with Firefox and it looks, like the script works the same way, as in Chrome.
However, the issue on the screen is because there’s a general bug in the script - when a user doesn’t have an entry in the database associated with the script, the results will look exactly as on the screen, no matter the browser. Those are the results of incremental developing and testing - I’ve first created an entry in the db for myself to have some data for tests, then added the functionality to display the data and everything worked ok. However, I didn’t test the script for a fresh account. I’ll fix it soon.

4 Likes

Quick question, can the colors in the Custom Colors script be exported to the database of this script, or has it already been exported?

Also yeah, I can’t add my profile entry at all since the flags need to be input, which we can’t do unless we already have an entry, which we can’t add since the flags need to be input, which we can’t do unless we already have an entry…

Edit: One more feature request, can you also add an input field for the color selection so we can just type the color we want (can be in hex code or rbg values)?

Actually, I’m considering removing the color selection, because HQ isn’t very happy with it, lol
I didn’t import any custom colors’ settings and that might be a little problematic, at least, in your case, because the new script forbids using any colors unavailable for a given player, so you won’t be able to use your yellow part. I was thinking about forbidding only the cases where all letters would have to be in the same color, but people are smart and probably, sooner or later, somebody would do its username all in yellow but one letter and that letter could be at the beginning or at the end of their nickname and could be colored dark gray/black, so we would have many unauthorized “GMs”. I want to play safe here.
And yes, I surely can add the input field for the colors (if I decide not to delete the feature).

2 Likes

Have you tried considering players adding colors that are JUST 1 value apart, such as their color being 254, 254, 0 instead of 255, 255, 0 for yellow?

Also, I found the root of the flags problem, the “flags” variable is not defined.

Yes, I considered that, and I used a special algorithm to detect visual differences between colors using CIELAB color space However, I’ve decided to remove that feature entirely. If one wants to have custom colors, they still can use the Custom Colors script.
The problem with the flags was deeper - this was the one, I’ve talked about in post #496 (the one with new users). I have fix for that, but it’s still on my local repository, because I’m working on rebuilding some other parts and want to push them all together to the public repo.

2 Likes

Extended Profile v. 1.1

REMOVED the custom colors section
ADDED list of built-in avatars (with possibility, to load a custom avatar)
BROUGHT back part of the badges section to the Profile tab
REMODELLED the look of the Profile tab
FIXED impossibility to save anything for a new profile and some other bugs

If something (anything) doesn’t work, let me know.
If you have suggestions for the flags list, please post them here.

Enjoy :slight_smile:

2 Likes

Woo it’s working! Love the built-in avatars :smiley: Awesome @KrzysztofKruk

1 Like

Because RawGit turned off ability to add any new links and will be permanently down in a year, I’ve changed all the links to the scripts to GitHack.

Links installed via TamperMonkey are still the same.
For the record:
https://github.com/ChrisRaven/EyeWire-Statistics/raw/master/statistics.user.js
https://github.com/ChrisRaven/EyeWire-SC-History/raw/master/sc_history.user.js
https://github.com/ChrisRaven/EyeWire-Custom-Highlight/raw/master/custom_highlight.user.js
https://github.com/ChrisRaven/EyeWire-Profile-History/raw/master/profile_history.user.js
https://github.com/ChrisRaven/EyeWire-Utilities/raw/master/utilities.user.js
https://github.com/ChrisRaven/EyeWire-Cubes/raw/master/cubes.user.js
https://github.com/ChrisRaven/EyeWire-Extended-Profile/raw/master/extended_profile.user.js

https://github.com/ChrisRaven/EyeWire-Accuracy-History/raw/master/accuracy_history.user.js (currently replaced by the built-in Activity Tracker)

https://github.com/ChrisRaven/EWDLC/raw/master/build/ewdlc.min.user.js (my version of EWDLC)


And here are the new links from GitHack. They are to use via the EW Addons feature (available in the Settings menu):

https://raw.githack.com/ChrisRaven/EyeWire-Statistics/master/statistics.user.js
https://raw.githack.com/ChrisRaven/EyeWire-SC-History/master/sc_history.user.js
https://raw.githack.com/ChrisRaven/EyeWire-Custom-Highlight/master/custom_highlight.user.js
https://raw.githack.com/ChrisRaven/EyeWire-Profile-History/master/profile_history.user.js
https://raw.githack.com/ChrisRaven/EyeWire-Utilities/master/utilities.user.js
https://raw.githack.com/ChrisRaven/EyeWire-Cubes/master/cubes.user.js
https://raw.githack.com/ChrisRaven/EyeWire-Extended-Profile/master/extended_profile.user.js

https://raw.githack.com/ChrisRaven/EWDLC/master/build/ewdlc.min.user.js

https://raw.githack.com/ChrisRaven/EyeWire-Accuracy-History/master/accuracy_history.user.js

1 Like

Custom Highlight v. 1.5

ADDED an option to highlight all cubes in cell, which aren’t SC-able - cubes, that already have 2 votes, that have one vote given by the player, that are admin or scythe frozen, stashed or low-wt.

The option is turned off by default. To turn it on, go to the Settings menu and switch the appropriate option:

After that, a mauve colored button should be visible in the Inspection Panel:

When you click on that cube all non-SC-able cubes will be custom highlighted.

The highlight will stay forever until you go to the root cube and unhighlight all children or delete the cell from the list available after clicking the H button in the Inspection Panel.
The cubes aren’t refreshed automatically, so you have to either click the mauve button again to update the data or just highlight each button you’ve SC-ed (e.g. by pressing C+C, then V+V on your keyboard).

Not 100% sure, if that option will be useful, hence it’s turned off by default.
I was going to highlight all the cubes, which are available for SC-ing, but afer some thinking, I realized, that it would masked the info, if the cube is a duplicate, flagged or something else is wrong with it.

Let me know, if the function is useful to you.

EDIT:
Apparently, the automatically highlighted cubes won’t stay between refreshes, only those hand-highlighted. I’ll fix it soon, if needed.

EDIT 2:
Fixed the aforementioned problem (in v. 1.5.1.1) because it was wider and the highlighting disappeared also after inspecting any cube.

EDIT 3:
in v. 1.5.2 when you right click on the button all highlights will be gone. It applies also to all the highlights made by hand.

2 Likes

hey @Kruk
As to “cubes completed in cells sc’d”: Could you just show when i open menu, how many cubes i can sc? (i must so many times click check…)
thanks :slight_smile:

1 Like

Hmm, I think, I can do it. It will be a little bit slower (I think, 4 requests per row versus 1, as is currently), but should be much slower. Wil see, what I can do :slight_smile:

1 Like

thanks :slight_smile:
Though if it gets slower for others, not as urgent :slight_smile:

2 Likes

It was easier than I thought and the slowness isn’t as big as I thought too :slight_smile:
So the new version of SC History is 1.2 and it has automatic sc-info (without the now unneeded “Check” button).
As a reminder: to update any script (actually, all installed scripts at once), left-click the TamperMonkey icon, click “Check for userscript updates” and wait a couple of seconds. Then refresh the EW page and everything should be updated and working.

1 Like