This repository was archived by the owner on Mar 23, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 2
2
"addons" : {
3
3
"unlisted-particle@particlecore.github.io" : {
4
4
"updates" : [{
5
- "version" : " 1.8.8 " ,
5
+ "version" : " 1.8.9 " ,
6
6
"update_link" : " https://github.com/ParticleCore/Particle/raw/master/dist/YouTubePlus.xpi" ,
7
7
"applications" : {
8
8
"gecko" : {
Original file line number Diff line number Diff line change 1
1
// ==UserScript==
2
- // @version 1.8.7
2
+ // @version 1.8.8
3
3
// @name YouTube +
4
4
// @namespace https://github.com/ParticleCore
5
5
// @description YouTube with more freedom
601
601
player = document . getElementById ( "movie_player" ) ;
602
602
if ( player ) {
603
603
player . setPlaybackQuality ( user_settings . VID_DFLT_QLTY ) ;
604
+ player . cueVideoByPlayerVars ( b . args ) ;
604
605
}
605
606
return temp ;
606
607
} ;
639
640
}
640
641
function modPlayerCreate ( original ) {
641
642
return function ( a , b ) {
642
- var temp , player ;
643
+ var temp ;
643
644
temp = a . id || a ;
644
645
if ( temp !== "player-api" && temp !== "upsell-video" ) {
645
646
return original . apply ( this , arguments ) ;
649
650
original . apply ( this , arguments ) ;
650
651
} else if ( typeof a === "object" ) {
651
652
player_instance = original . apply ( this , arguments ) ;
652
- player = document . getElementById ( "movie_player" ) ;
653
653
if ( user_settings . VID_PLR_FIT ) {
654
654
resizePlayer ( ) ;
655
655
}
2374
2374
holder = document . createElement ( "link" ) ;
2375
2375
holder . rel = "stylesheet" ;
2376
2376
holder . type = "text/css" ;
2377
- holder . href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.7 " ;
2377
+ holder . href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.8 " ;
2378
2378
document . documentElement . appendChild ( holder ) ;
2379
2379
}
2380
2380
holder = document . createElement ( "script" ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 2 ,
3
3
"name" : " Particle" ,
4
- "version" : " 1.8.7 " ,
4
+ "version" : " 1.8.9 " ,
5
5
"description" : " YouTube with more freedom" ,
6
6
"default_locale" : " en" ,
7
7
"icons" : {
Original file line number Diff line number Diff line change 601
601
player = document . getElementById ( "movie_player" ) ;
602
602
if ( player ) {
603
603
player . setPlaybackQuality ( user_settings . VID_DFLT_QLTY ) ;
604
+ player . cueVideoByPlayerVars ( b . args ) ;
604
605
}
605
606
return temp ;
606
607
} ;
639
640
}
640
641
function modPlayerCreate ( original ) {
641
642
return function ( a , b ) {
642
- var temp , player ;
643
+ var temp ;
643
644
temp = a . id || a ;
644
645
if ( temp !== "player-api" && temp !== "upsell-video" ) {
645
646
return original . apply ( this , arguments ) ;
649
650
original . apply ( this , arguments ) ;
650
651
} else if ( typeof a === "object" ) {
651
652
player_instance = original . apply ( this , arguments ) ;
652
- player = document . getElementById ( "movie_player" ) ;
653
653
if ( user_settings . VID_PLR_FIT ) {
654
654
resizePlayer ( ) ;
655
655
}
Original file line number Diff line number Diff line change 601
601
player = document . getElementById ( "movie_player" ) ;
602
602
if ( player ) {
603
603
player . setPlaybackQuality ( user_settings . VID_DFLT_QLTY ) ;
604
+ player . cueVideoByPlayerVars ( b . args ) ;
604
605
}
605
606
return temp ;
606
607
} ;
639
640
}
640
641
function modPlayerCreate ( original ) {
641
642
return function ( a , b ) {
642
- var temp , player ;
643
+ var temp ;
643
644
temp = a . id || a ;
644
645
if ( temp !== "player-api" && temp !== "upsell-video" ) {
645
646
return original . apply ( this , arguments ) ;
649
650
original . apply ( this , arguments ) ;
650
651
} else if ( typeof a === "object" ) {
651
652
player_instance = original . apply ( this , arguments ) ;
652
- player = document . getElementById ( "movie_player" ) ;
653
653
if ( user_settings . VID_PLR_FIT ) {
654
654
resizePlayer ( ) ;
655
655
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 2 ,
3
3
"name" : " YouTube Plus" ,
4
- "version" : " 1.8.8 " ,
4
+ "version" : " 1.8.9 " ,
5
5
"description" : " YouTube with more freedom" ,
6
6
"default_locale" : " en" ,
7
7
"icons" : {
You can’t perform that action at this time.
0 commit comments