Youtube Link Fix for addons/scripts

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

< 脚本 Youtube Link Fix for addons/scripts 的反馈

提问 / 留言

§
发布于:2015-11-09
编辑于: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

§
发布于: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

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址