Youtube Link Fix for addons/scripts

[Works in FF and Chrome!] changes youtube links to refresh whole page, so other scripts will work.

< Feedback on Youtube Link Fix for addons/scripts

Question/comment

§
Posted: 2015-11-09
Edited: 2015-11-10

Script question

Hi, this is a great, very underrated script, but I am having an issue when using it. I've written a bunch of YouTube scripts and this one in particular: YouTube View More Uploader Videos

The script shows a playlist of text links, but when I use it with 'Youtube Link Fix for addons/scripts' it messes up the formatting of the links (perhaps it removes some css classes?).

Here's an image of what happens, left-side is before (normal), right-side is after (running both scripts):
http://i.imgur.com/vnDIyL3.png

Would you know what to change in your script to make it work so that the formatting of the links isn't effected? This is the one problem preventing me from including it in my 6 YouTube scripts.

One slight bit of feedback, I think your script would get more attention if it mentioned 'spf.js' in the title.
I was curious about something... I tried running a script with just $("a").removeClass("spf-link");... it seemed to produce the same results on YouTube, am I missing something?

cheers

§
Posted: 2015-11-10

Well, I found what might be an answer:
$("a").removeClass("spf-link").not("#watch-appbar-playlist");
The pages it opens don't seem to run spf.js, so it all works out.

cheers

Post reply

Sign in to post a reply.