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

返信を投稿

返信を投稿するにはログインしてください

长期地址
遇到问题?请前往 GitHub 提 Issues。