-
ptlp edited 7 months ago
Hi. I wrote a small script that automatically reverts the "improvements" to the Discogs collection page. To use this script, you need to use a script plugin for your browser. I use TamperMonkey:
https://www.tampermonkey.net/
Here is the script in its entirety:
// ==Script==
// @name Fix Discogs Collection URLS
// @version 2024-11-02
// @author ptlp
// @description Reverts Discogs collection design "improvements"
// @include http*://discogs.mejorespelis.org//*
// ==/Script==
(function() {
var url = window.location.toString();
if( url.includes("collection") && !url.includes("reverted") ) {
window.location = url.replace(//, '/') + "#reverted";
}
})();
As far as I can tell after about five minutes of testing, it solves the problem. I'm not a developer, just an irritated , so no guarantees that this will work on your browser/device or for your use case or whatever. -
Show this post
This is epic. Thanks for your work -
SeashoreArchive edited 7 months ago
Wow, thank you for this! I'm glad I won't have to do that manually from now on.
I tweaked your code to revert artist pages to the old layout; not sure if it's been done before, but it seems to do the job:
// ==Script==
// @name Fix Discogs Artist Page URLS
// @version 2024-11-02
// @author ptlp
// @description Reverts Discogs artist page design "improvements"
// @include http*://discogs.mejorespelis.org/artist/*
// ==/Script==
(function() {
var url = window.location.toString();
if( url.includes("artist") && !url.includes("reverted") ) {
window.location = url.replace(/artist/, 'artist/') + "#reverted";
}
})(); -
Show this post
SeashoreArchive
Wow, thank you for this! I'm glad I won't have to do that manually from now on.
I tweaked your code to revert artist pages to the old layout; not sure if it's been done before, but it seems to do the job:
// ==Script==
// name Fix Discogs Artist Page URLS
// version 2024-11-02
// Author ptlp
// Description Reverts Discogs artist page design "improvements"
// include http*://discogs.mejorespelis.org/artist/*
// ==/Script==
(function() {
var url = window.location.toString();
if( url.includes("artist") && !url.includes("reverted") ) {
window.location = url.replace(/artist/, 'artist/') + "#reverted";
}
})();
how do i make this work? i have tmonkey and i can seem to figure it out -
Show this post
CaptainLocutus
how do i make this work? i have tmonkey and i can seem to figure it out
With a Discogs tab open, click on the extension in the upper right & select "Create a new script..."
Discogs' text formatting removes @ symbols & capitalizes 'Author' & 'Description'.
Un-capitalize those & add the @ symbols in front of each line in '==Script==', after the //s.
Save the script & reload the Discogs page, then it should work. I hope anyway... -
Show this post
All you should have to do is open up Tamper Monkey, create a new script, and paste the above code in. -
CaptainLocutus edited 7 months ago
ptlp
All you should have to do is open up Tamper Monkey, create a new script, and paste the above code in.
ive done that a few times and i get this error
there are Xs on the first 6 lines and it says invalid script name -
Show this post
Have you pasted something different to what you copied, with emojis in it maybe? -
Show this post
ptlp
All you should have to do is open up Tamper Monkey, create a new script, and paste the above code in.
ive done that a few times and i get this errordunforthemoment
Have you pasted something different to what you copied, with emojis in it maybe?
there are supposed to be
@ in front of the descriptors. figured it out. thank you -
Show this post
Thanks, worked! -
Show this post
dfffffffffffffffffffnm -
Show this post
no code tags on here, so an @ converts to a name -
Show this post
SeashoreArchive
Wow, thank you for this! I'm glad I won't have to do that manually from now on.
I tweaked your code to revert artist pages to the old layout; not sure if it's been done before, but it seems to do the job:
// ==Script==
// name Fix Discogs Artist Page URLS
// version 2024-11-02
// Author ptlp
// Description Reverts Discogs artist page design "improvements"
// include http*://discogs.mejorespelis.org/artist/*
// ==/Script==
(function() {
var url = window.location.toString();
if( url.includes("artist") && !url.includes("reverted") ) {
window.location = url.replace(/artist/, 'artist/') + "#reverted";
}
})();
Awesome
Freakin crazy, almost scary it immediately reveals all the old pre 2024 reviews on the artist pages that are still technically saved
Also will make sure nothing is missing on an artists page and Master Releases are showing properly -
dunforthemoment edited 7 months ago
Thanks for fixing Discogs. You should apply for jobs there and try to help them get it together. -
Show this post
CaptainLocutus
ptlpAll you should have to do is open up Tamper Monkey, create a new script, and paste the above code in.
ive done that a few times and i get this error
dunforthemomentHave you pasted something different to what you copied, with emojis in it maybe?
there are supposed to be
@ in front of the descriptors. figured it out. thank you
This is it! This forum renders those away and there's no documentation on how to get them to show up. -
Show this post
ptlp
This forum renders those away and there's no documentation on how to get them to show up.
If you put the @ between [i][/i] italics tags, the @ will render in italics, but doesn't look much different, plus the resulting text when copy/pasted won't have the style formatting embedded. -
Show this post
xceque
If you put the @ between [i][/i] italics tags, the @ will render in italics, but doesn't look much different, plus the resulting text when copy/pasted won't have the style formatting embedded.
Great, done. -
Show this post
SeashoreArchive
I tweaked your code to revert artist pages to the old layout;
Very cool, thanks! The "add artist to list" function seems to be gutted though unfortunately -
Show this post
Wonderful, thank you for that script.
It is shocking to see how small the differences between the old and the new layout really are, and how much of an impact (sadly not in a good way) the new layout has on the whole experience. -
Kuulintu edited 7 months ago
I got it to work. Fabulous! Thank you SO much for this! -
Show this post
XXX.
The "add artist to list" function seems to be gutted though unfortunately
There will likely be functionality from the old versions of pages that gradually stops working a bit at a time. One day, once everything is all new code, the old platform will be turned off permanently. Then all the old cheats will stop working.
Better to get used to the new system and report bugs in the thread that discogs (allegedly) monitors (rather than this one and others which they definitely don't). If everyone uses the old system, bugs won't get reported and discogs devs might think their new code is bug free.
For those who want to use the new system with style changes to make things tolerable, Forum Thread #1094049. And may be encouraged to do more if there's some .
Also, Forum Thread #800332 -
Kuulintu edited 7 months ago
xceque
Better to get used to the new system and report bugs in the thread that discogs (allegedly) monitors (rather than this one and others which they definitely don't). If everyone uses the old system, bugs won't get reported and discogs devs might think their new code is bug free
Trivial. They had years to fix problems in the old layout. Those problems are still there. Only thing they "fixed" was the new look. And while doing that, they broke even more things. I don't think there are many people who would be that naive, that they would believe Discogs devs ever do any kind of bug fixes. They get paid for visual updates only. Latest example is that they pushed this new update live, which they took down because of multiple complaints 2 months ago. Did they fix anything in that time? No. They absolutely didn't. -
Show this post
Kuulintu
Those problems are still there.
It's like you're making my point for me. -
Show this post
xceque
Don't think there'll be anything that fixes the visual bloat on the new collection view yet,
I plan to improve the collection view too.
( EzraZebra - received your ping about this)
It's all a matter of that day I choose for doing some CSS coding instead of all other stuff I amuse myself with (submitting stuff, searching new music, doing some stuff for the radio, play games, go fishing, make music or pleasure my wife)
I wish a day had 96 hours ;) -
Show this post
EzraZebra
Dark Mode (& custom Width for those not willing to switch to dark mode, but want the other tweaks) are both updated now.
Probably still room for improvement.
It would be good if the compact view would be actually compact, rather than just missing the images, but that's a hard one (I could do something probably)
Images now use the full height of the rows.
Feel free to report errors, possible improvements, or snippets of code that could be added. -
procol75 edited 7 months ago
ptlp
Hi. I wrote a small script that automatically reverts the "improvements" to the Discogs collection page. To use this script, you need to use a script plugin for your browser. I use TamperMonkey:
https://www.tampermonkey.net/
Here is the script in its entirety:
// ==Script==
// name Fix Discogs Collection URLS
// version 2024-11-02
// Author ptlp
// Description Reverts Discogs collection design "improvements"
// include http*://discogs.mejorespelis.org//*
// ==/Script==
(function() {
var url = window.location.toString();
if( url.includes("collection") && !url.includes("reverted") ) {
window.location = url.replace(//, '/') + "#reverted";
}
})();
As far as I can tell after about five minutes of testing, it solves the problem. I'm not a developer, just an irritated , so no guarantees that this will work on your browser/device or for your use case or whatever.
Thanks ptlp It's work with "Tempermonkey Legacy" on google chrome -
Show this post
xceque
For those who want to use the new system with style changes to make things tolerable, DarreLP has done some scripting here: Forum Thread #1094049. And may be encouraged to do more if there's some .
Yea, if anyone wants something added, just let me know. I mainly made it for my own use but would be glad to add features to it on request. -
Show this post
Dr.SultanAszazin
xceque / EzraZebra
Dark Mode (& custom Width for those not willing to switch to dark mode, but want the other tweaks) are both updated now.
Probably still room for improvement.
It would be good if the compact view would be actually compact, rather than just missing the images, but that's a hard one (I could do something probably)
Images now use the full height of the rows.
Feel free to report errors, possible improvements, or snippets of code that could be added.
Looks good to me, thanks! -
Show this post
what does it do? the collection view looks still the same -
Show this post
Wonder if it's just me, or has the script stopped working for other people as well? :/
Just noticed it doesn't seem to do its thing anymore. Could someone in the know about these things check if it could be just some tweaks needing to be done, or if the powers that be have finally pulled the plug on the old Collection pages and this new horrid thing is the only thing around anymore? -
Show this post
Mosokaiser
Wonder if it's just me, or has the script stopped working for other people as well? :/
Just noticed it doesn't seem to do its thing anymore. Could someone in the know about these things check if it could be just some tweaks needing to be done, or if the powers that be have finally pulled the plug on the old Collection pages and this new horrid thing is the only thing around anymore?
Yep - no longer working for me, either. -
Show this post
Yep. My script broke too. They rewrote the front end and it’s now rendering multiple different shadow DOMs which makes scripting and css way mire difficult. I spent a bit of time trying to fix it but ultimately didn’t have the time to invest more into it. -
Show this post
Oh no, it's not working anymore! This sucks -
Show this post
This sucks big-time -
procol75 edited about 1 month ago
It's not working anymore for me since 1 or 2 month
the "//" after don't work too -
Show this post
ptlp you have any other script you could maybe conjure up?
The whole collection page is, apart from aggravating, totally useless to work with now. -
Show this post
I'll be looking forward to a new one! -
Show this post
I appreciate your work, but I was just notified by Discogs that inventory management upgrades are coming. I'm going to wait for IT to correct the issues before I try the patch. Thanks again, but I'm going to trust the process. -
Show this post
procol75
the "//" after don't work too
I noticed that too, sadly -
Show this post
Is the Collection broken at the moment, anyways?
I can't see a s recently added releases to their own collection. It's all in random order.
God I wish we had a script again, OP was a godsend