This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name YouTube layout config | |
// @namespace https://github.com/UCyborg | |
// @description Provides configuration interface for switching between desktop and mobile version of YouTube. | |
// @version 1.0 | |
// @author UCyborg | |
// @downloadURL https://gist.github.com/UCyborg/754fe319866a7f126ec1d074ed922b37/raw/YouTube_layout_config.user.js | |
// @include /https:\/\/(www|m)\.youtube\.com\/(?!embed\/.*$)/ | |
// @run-at document-start | |
// @require https://openuserjs.org/src/libs/sizzle/GM_config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U | |
#EXTINF:-1,BBC - Radio 1 | |
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_one.m3u8 | |
#EXTINF:-1,BBC - Radio 2 | |
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_two.m3u8 | |
#EXTINF:-1,BBC - Radio 3 | |
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_three.m3u8 | |
#EXTINF:-1,BBC - Radio 4 | |
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_fourfm.m3u8 | |
#EXTINF:-1,BBC - Radio 4 LW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U | |
#EXTINF:-1,BBC - Radio 1 | |
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 1Xtra | |
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 1Dance | |
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 1Relax | |
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one_relax/bbc_radio_one_relax.isml/bbc_radio_one_relax-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!function_exists('get_called_class')) { | |
/** | |
* Gets the name of the class the static method is called in. | |
* | |
* @return string | |
*/ | |
function get_called_class() { | |
$arr = array(); | |
$arrTraces = debug_backtrace(); |