FIX. pending vote info can be masked by static menu
I eventually took Hawke’s version pattern that suits Chromium’s bug (#1)
remove chrome work-arounds and advocate Tampermonkey instead when needed (#17)
Merge branch 'master' of https://github.com/jesus2099/konami-command
Conflicts:
jasrac-mb-minc_WORK-IMPORT-CROSS-LINKING.user.js
aligning metadata block keys
decoding some more unicode
FIX. returnto=… kind of URLs are blocking user scripts
☞ excluding musicbrainz.org/* instead of just musicbrainz.org* (to allow musicbrainz.org%2F)
NEW. opening mbsandbox.org to POWER VOTE and LOCAL STORAGE MANAGER.
various syntax fixes spotted with some OUJS.org’s code display’s warnings (jshint maybe?)
MBS. buttons style changed
FIX. ugly button.
FIX. vote shortcut buttons wrap in Firefox
FIX. ctrl+alt+click problems (work in progress)
@downloadURL and @updateURL fixed:
//raw.githubusercontent.com → //github.com/…/raw/
@author normalised: PATATE12
@downloadURL and @updateURL fixed:
//raw.githubusercontent.com → //github.com/…/raw/
@author normalised: PATATE12
MBS. buttons style has changed (#68)
FIX. submits when selecting votes (regression brought by f30eda37afdb0ff80500ae4fb0462621b9b17958)
using .classList(.add/.remove/.toggle/.contains) instead of .className where opportunate.
replacing clss() and cssClass(), I didn’t know I reinvented the weel.
CR + LF → LF
LF → CR+LF
back to Windows (my OS) good old end of line characters.
clipboard made it too prone to mistake for too few bytes gained.
stop “locking” forms on submit.
cleanup
Using xhr.id to track which edit is being voted (closes #104)
null when no edit in response.
better words.
alerts are annoying : use tooltip instead when possible
Warning: OUJS.org minify feature would break my metadata block parser.
Remaining scripts (closes #158).
OpenUserJS block cleanup
self.getComputedStyle() is not found under Opera 12.18.1872.
I will use getComputedStyle() instead, like in the other scripts.
FIX #210: A new CAA tab error crashes INLINE STUFF
FIX #212: SERVER_SWITCH does not show up any more
WIP #211: No more background colours for votes (POWER VOTE)
FIX #211: No more background colours for votes
MBS /static/scripts/common/MB/Control/EditList.js is not necessarily
run before POWER VOTE.
So, when POWER VOTE ran before EditList.js, POWER VOTE was not able to
get computed background colour information, because it was only later
set by EditList.js:
- on page load, because vote-yes/no/abs CSS classes are not hard coded
in the HTML and are only added when EditList.js later runs.
FIX: delay initialisation by 1 arbitrary second.
- on click, because EditList.js change event listener is bound to
vote check boxes only after mine.
FIX: make the code asynchronously out of the event handling chain
with a 0 second setTimeout().
Some performance improvements after #211 change.
- No need for 1 second delay,
pull out call from event listener chain with setTimeout seems enough.
- Extract function declaration from loop for performance optimisation.
Factorise event listeners (extract event listeners out of the loop).
I should probably do the same with the other looped on event listeners.
Another performance improvement triggered by #211’s fix.
Global search replace “self” → “window”.
It seems Opera v12.18.1272 no longer finds self.
Might be a better fix to than only self.getComputedStyle (fbbb86978292865a00bec860d709aef1c20dedd6).
Initially spotted in #209, #210, #211, and #212.
Revert my too hasty changes after a false alert:
- Putting back favourite “self” instead of less explicit “window”
- Explicit “self” on location
- No self on prompt
Closes #218.
More info at violentmonkey/violentmonkey-oex#45.
Security improvement: using match instead of include (closes #192).
Added //*.mbsandbox.org support where it was missing.
Report #253 regression fix
Merge branch 'master' into #244y-van-zall-shook-up-links
Conflicts:
mb_ALL-LINKS.user.js