Youtube trailers on imdb
< Feedback on IMDb Youtube Trailer Button
IMDB had made changes to the DOM that broke the script. Fixed.
I only tested on the latest Firefox + Tampermonkey, but it should theoretically work with Waterfox + Greasemonkey too.
Thanks:
I see the #ytButton button in fireburg.
But the button itself, became invisible after a very short time:
Maybe the same time than the short preview of IMdb.
That's normal ?
I prefer to see it always...
Tested too with Firefox Quantum
If i had that CSS, it became visible all the time:.hoyJOH.hide-videoPreview {
opacity: 1 !important;
transition: visibility 0s ease 0.5s, opacity 0.5s linear 0s;
visibility: visible !important;
}
Another strange problem:
In Waterfox:
If i refresh the page the button is not here after.
And not in firebug too....
Last I updated it, it seemed to work for the 5-ish movies/tv-show pages I opened, but now it seems not.
Maybe I was inserting it too deep and it was going under other elements?
I moved it up the DOM tree a little. It's working for me again. Hope it doesn't randomly stop working again...
Tested and working on Firefox 104.0 (64-bit) and Waterfox Classic 2022.08 (64-bit) with Tapermonkey.
Thanks :
It work like a charm!
Waterfox Classic + Greasemonkey 3.XX
It disappeared again after a few days of working fine...
I don't know if imdb is really making breaking changes to the page this often, or what is happening, but whatever. I moved it again and it's working ...for now.
It work always!
;-)
Yet it seems broken again :-(
Damn Youtube!
Can you fix it (if it is not only a problem of me) ?
Fixed.
Only tested standard Firefox, but the issue was an update to IMDB's HTML so it's probably fixed no matter the browser.
Fine!
Note:
Work too with Waterfox Classic..
Maybe it is only me:
I don't show the YouTube button.
I trying to fnd your selector for it:
#ytButton
Can't find it too.
Waterfox Classic + Greasemonkey 3.XX