Created
April 18, 2013 21:23
-
-
Save martinowen/5416344 to your computer and use it in GitHub Desktop.
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 My Fancy New Userscript | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @match *://*youtube*/* | |
// @copyright 2012+, You | |
// @require http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
// ==/UserScript== | |
function isRebeccaBlackVideo() { | |
var title = $('#watch-headline-title').text(); | |
return /rebecca.*black/i.test(title); | |
} | |
function justSayNo() { | |
var noHtml = '<div id="wrapper" style="width: 300px; height: 300px; position: relative;"><div id="no" style="position: absolute; left: 93px; top: 21px; width: 960px; height: 600px; display: table;"><p style="font-size: 400px; font-weight: bold; text-align: center; display: table-cell; vertical-align: middle;">NO!</p></div></div>'; | |
$('body').html(noHtml); | |
} | |
function rickRoll() { | |
var rickRollEmbed = '<embed type="application/x-shockwave-flash" src="https://s.ytimg.com/yts/swfbin/watch_as3-vflItclmj.swf" id="movie_player" flashvars="title=Rick%20Astley%20-%20Never%20Gonna%20Give%20You%20Up&host_language=en&cbrver=26.0.1410.65&adsense_video_doc_id=yt_dQw4w9WgXcQ&account_playback_token=8FY3Bh6BESpalZMZeqsRoDmahrN8MTM2NjQwNTY3MEAxMzY2MzE5Mjcw&autohide=2&ad_logging_flag=1&ad_channel_code_overlay=invideo_overlay_480x70_cat10%2Cafv_overlay%2CVertical_3%2CVertical_35%2CVertical_1021%2Cyt_mpvid_AATaqP7F76Kens6h%2Cyt_cid_10481%2Cytdevice_1%2Cytps_default%2Cytel_detailpage&showpopout=1&tmi=1&enablejsapi=1&loudness=-20.4500007629&ad_flags=0&cos=Mac&sk=3Ufvx4WfLjig58IhT6gVSv7XWMY8DzpyR&fw=1&shortform=true&sw=1.0&fexp=911403%2C923129%2C907225%2C916614%2C930901%2C932000%2C932004%2C906383%2C916911%2C916910%2C924605%2C904479%2C902000%2C901208%2C919512%2C929903%2C925714%2C929119%2C931202%2C900821%2C900823%2C909419%2C911416%2C908529%2C930807%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930609%2C900824&loeid=911403%2C923129%2C907225%2C916614%2C930901&plid=AATaqP7E4hMC_DJi&advideo=1&share_icons=https%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fsharing-vflR876kr.swf&cplatform=DESKTOP&dash=1&t=vjVQa1PpcFNVD56rGjGlPcdnBS3n1ac0fJNn_a5F4To%3D&trueview=true&cr=GB&pyv_in_related_cafe_experiment_id=&afv_inslate_ad_tag=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Fht_id%3D3816642%26cust_age%3D1002%26client%3Dca-pub-6219811747049371%26host%3Dca-host-pub-4404692103537709%26ytdevice%3D1%26loeid%3D911403%252C923129%252C907225%252C916614%252C930901%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%252Fvideo%252FdQw4w9WgXcQ%26max_ad_duration%3D20000%26cust_gender%3D1%26ad_type%3Duserchoice%26hl%3Den&instream=true&ad_gender=m&tpas_ad_type_id=1&ptk=vevo&ad_tag=https%3A%2F%2Fad-emea.doubleclick.net%2FN4061%2Fpfadx%2Fcom.ytpwatch.music%2Fmain_10481%3Bsz%3DWIDTHxHEIGHT%3Bkvid%3DdQw4w9WgXcQ%3Bkpu%3DRickAstleyVEVO%3Bkpid%3D10481%3Bu%3DdQw4w9WgXcQ%7C10481%3Bmpvid%3DAATaqP7F76Kens6h%3Bssl%3D1%3Bplat%3Dpc%3Bkpeid%3D38IQsAvIsxxjztdMZQtwHA%3Bafct%3Dsite_content%3Bafv%3D1%3Bdc_dedup%3D1%3Bk21%3D1%3Bk5%3D3_35_1021%3Bkage%3D32%3Bkar%3D4%3Bkauth%3D1%3Bkclt%3D1%3Bkcr%3Dgb%3Bkga%3D1002%3Bkgender%3Dm%3Bkgg%3D1%3Bklg%3Den-gb%3Bkmsrd%3D1%3Bko%3Dp%3Bkr%3DF%3Bkvz%3D205%3Blongads%3D1%3Bnlfb%3D1%3Bshortform%3D1%3Btves%3D2%3Byt_vrallowed%3D1%3Bytcat%3D10%3Bytdevice%3D1%3Bytexp%3D911403%2C923129%2C907225%2C916614%2C930901%3Bytps%3Ddefault%3Bytvt%3Dw%3B!c%3D10481%3Bk2%3D3%3Bk2%3D35%3Bk2%3D1021%3Bkvlg%3Den%3B&interstitial=https%3A%2F%2Fs.ytimg.com%2Fyts%2Fswf%2Fvevo_preload-vfl9Lfx8C.swf&user_age=32&oid=yZJtHRi2SvzOOKZfbA-GRA&user_gender=m&ad_language_iso639_2=eng&tpas_partner_id=40185&dclk=true&vq=auto&enablecsi=1&afv_ad_tag=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Fht_id%3D3816642%26video_cpm%3D6000000%26cust_age%3D1002%26client%3Dca-pub-6219811747049371%26host%3Dca-host-pub-4404692103537709%26ytdevice%3D1%26loeid%3D911403%252C923129%252C907225%252C916614%252C930901%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%252Fvideo%252FdQw4w9WgXcQ%26max_ad_duration%3D20000%26cust_gender%3D1%26channel%3Dafv_instream%252BVertical_3%252BVertical_35%252BVertical_1021%252Bafv_instream_gb%252Byt_mpvid_AATaqP7F76Kens6h%252Byt_cid_10481%252Bytdevice_1%252Bytps_default%252Bytel_detailpage%26ad_type%3Dvideo%26hl%3Den&ad_device=1&ad_channel_code_instream=afv_instream%2CVertical_3%2CVertical_35%2CVertical_1021%2Cafv_instream_gb%2Cyt_mpvid_AATaqP7F76Kens6h%2Cyt_cid_10481%2Cytdevice_1%2Cytps_default%2Cytel_detailpage&yt_pt=AD1B29mCcRTmjc63oB-Wf0HB1vjm5mmdYxYKeQIJSLGCCkvE4gibHjemrxTAngPKdRyOr4duJTnjpZRpHXZ3hGR8eblsW7vKiLGPFkc5Ka-mDWew80nSpiMAeDKGOguQ40DZbBj60iTyrZ_m0OTp_QBVjj8wIETRyUiSCeYxdA&pprl=http%3A%2F%2Fvevo.ly%2FzDK6YR&sffb=true&tk=1&logwatch=1&dashmpd=http%3A%2F%2Fwww.youtube.com%2Fapi%2Fmanifest%2Fdash%2Fsver%2F3%2Fcp%2FU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2Fsparams%2Fas%252Ccp%252Cid%252Cip%252Cipbits%252Csource%252Cexpire%2Fip%2F94.192.250.132%2Fupn%2FTdjl1SwhIGc%2Fas%2Ffmp4_audio_clear%252Cwebm_audio_clear%252Cfmp4_sd_hd_clear%252Cwebm_sd_hd_clear%2Fsource%2Fyoutube%2Fsignature%2FD10106B8FBD0CE92067ADCE7D4396EDD12C23144.B94FAFE970FCA1466399CB8F7E4329EEE74ECFAC%2Fkey%2Fyt1%2Fid%2F750c38c3d5a05dc4%2Ffexp%2F911403%252C923129%252C907225%252C916614%252C930901%252C932000%252C932004%252C906383%252C916911%252C916910%252C924605%252C904479%252C902000%252C901208%252C919512%252C929903%252C925714%252C929119%252C931202%252C900821%252C900823%252C909419%252C911416%252C908529%252C930807%252C919373%252C930803%252C906836%252C920201%252C929602%252C930101%252C930609%252C900824%2Fipbits%2F8%2Fexpire%2F1366344277&ssl=1&csi_page_type=watch7ad&ucid=UC38IQsAvIsxxjztdMZQtwHA&allow_embed=1&is_html5_mobile_device=false&ptchn=RickAstleyVEVO&playlist_module=https%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fplaylist_module-vflf70xxC.swf&as_launched_in_country=1&ad_video_pub_id=ca-pub-6219811747049371&pltype=content&afv_video_min_cpm=6000000&afv_ad_tag_restricted_to_instream=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Fht_id%3D3816642%26video_cpm%3D6000000%26cust_age%3D1002%26client%3Dca-pub-6219811747049371%26host%3Dca-host-pub-4404692103537709%26ytdevice%3D1%26loeid%3D911403%252C923129%252C907225%252C916614%252C930901%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%252Fvideo%252FdQw4w9WgXcQ%26max_ad_duration%3D20000%26cust_gender%3D1%26channel%3Dafv_instream%252BVertical_3%252BVertical_35%252BVertical_1021%252Bafv_instream_gb%252Byt_mpvid_AATaqP7F76Kens6h%252Byt_cid_10481%252Bytdevice_1%252Bytps_default%252Bytel_detailpage%26ad_type%3Dvideo%26hl%3Den&ad_eurl=http%3A%2F%2Fwww.youtube.com%2Fvideo%2FdQw4w9WgXcQ&watermark=http%3A%2F%2Fwww.vevo.com%2F%3Futm_source%3Dyoutube%26utm_medium%3Dplayer%26utm_campaign%3Dlogo%2Chttps%3A%2F%2Fs.ytimg.com%2Fyts%2Fimg%2Fwatermark%2Fvevo_watermark-vflyal4o8.png&inactive_skippable_threshold=600000&cbr=Chrome&watch_xlb=https%3A%2F%2Fs.ytimg.com%2Fyts%2Fxlbbin%2Fwatch-strings-en_GB-vflMBExso.xlb&rvs=playlist_title%3DYouTube%2BMix%26playlist_length%3D50%26list%3DRD02dQw4w9WgXcQ%26video_id%3DyPYZpwSpKmA%26thumbnail_ids%3DyPYZpwSpKmA%2Ctitle%3DRick%2BAstley%2B-%2BCry%2BFor%2BHelp%26author%3DRickAstleyVEVO%26id%3DC2xel6q0yao%26length_seconds%3D294%26view_count%3D1%252C194%252C995%2Ctitle%3DRick%2BAstley%2B-%2BWhenever%2BYou%2BNeed%2BSomebody%26author%3DRickAstleyVEVO%26id%3DBeyEGebJ1l4%26length_seconds%3D206%26view_count%3D2%252C219%252C074%2Ctitle%3DRick%2BAstley%2B-%2BTake%2BMe%2BTo%2BYour%2BHeart%26author%3DRickAstleyVEVO%26id%3DeYuUAGXN0KM%26length_seconds%3D209%26view_count%3D475%252C431%2Ctitle%3DRick%2BAstley%2B-%2BShe%2BWants%2BTo%2BDance%2BWith%2BMe%26author%3DRickAstleyVEVO%26id%3DyBwD4iYcWC4%26length_seconds%3D260%26view_count%3D353%252C834%2Ctitle%3DAliens%2BAnd%2BThe%2BVatican%2B2013%26author%3DADGUKNEWS%26id%3DV0Y1Qg10pys%26length_seconds%3D1180%26view_count%3D190%252C416%2Ctitle%3Ddorftrottel%2Bby%2BKOS%26author%3Dleveluptv%26id%3D_YceuXmeWrU%26length_seconds%3D669%26view_count%3D50%252C482%2Ctitle%3DCharllote%2BAnd%2BJonathan%2BBest%2BAudition%2BEver%2BBritain%2BGot%2BTalents%2B2012%26author%3Dchef%2Bzul%26id%3Dzv2Fbk47x8s%26length_seconds%3D451%26view_count%3D15%252C505%252C376%2Ctitle%3DMichael%2BJackson%2B-%2BBillie%2BJean%26author%3DmichaeljacksonVEVO%26id%3DZi_XLOBDo_Y%26length_seconds%3D295%26view_count%3D82%252C776%252C901%2Ctitle%3DTop%2BTen%2BOther%2BVideo%2BGame%2BEaster%2BEggs%26author%3Drabbidluigi%26id%3Dh9KaWydFBMI%26length_seconds%3D1143%26view_count%3D966%252C277%2Ctitle%3DAqua%2B-%2BBarbie%2BGirl%26author%3DAquaVEVO%26id%3DZyhrYis509A%26length_seconds%3D202%26view_count%3D79%252C581%252C111%2Ctitle%3DFunny%2BFamily%2BGuy%2BMoments%26author%3DCrAnkyJester%26id%3DfcxsfN4jSV8%26length_seconds%3D243%26view_count%3D4%252C944%252C072&cid=10481&tpas_video_id=GB1108700010&length_seconds=213&ad3_module=https%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fad3-vflfVm1jO.swf&endscreen_module=https%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fendscreen-vflkTCoSU.swf&hl=en_GB&afv_instream_max=20000&prefetch_ad_live_stream=true&pprs=https%3A%2F%2Fs.ytimg.com%2Fyts%2Fswf%2FVevo-vfleQZ64T.swf&referrer=https%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3Drick%2Broll%26oq%3Drick%2Broll%26gs_l%3Dyoutube.3.0.0l3j0i10j0j0i10j0l4.16174.18042.0.19096.9.9.0.0.0.0.155.1016.3j6.9.0...0.0...1ac.1.cb35biS9PTM&q=rick%20roll&cafe_experiment_id=&cust_age=1002&aftv=true&cust_gender=1&ad_age=32&video_id=dQw4w9WgXcQ&video_wall=1&mpvid=AATaqP7F76Kens6h&ad_host_tier=3816642&ad_preroll=1&c=WEB&storyboard_spec=https%3A%2F%2Fi1.ytimg.com%2Fsb%2FdQw4w9WgXcQ%2Fstoryboard3_L%24L%2F%24N.jpg%7C48%2327%23100%2310%2310%230%23default%23TUpwxuxsGu9jUIvQW0rm8olGlUA%7C60%2345%23108%2310%2310%232000%23M%24M%234wCI9Y3VNCeT8ZYG18_y84JQoCE%7C120%2390%23108%235%235%232000%23M%24M%23gBiigHE3LfnW94xavJJibfJ6PfQ%7C240%23180%23108%233%233%232000%23M%24M%23Jw5wgsqnLRdeDHh4MO8vmuHxj64&timestamp=1366319270&sourceid=ys&url_encoded_fmt_stream_map=type%3Dvideo%252Fwebm%253B%2Bcodecs%253D%2522vp8.0%252C%2Bvorbis%2522%26sig%3DAB30C2F60520F94ED97712C3BAEAECC1B1A5E07C.99AE569388F11686B4887C8BC592D3FBDCB5B5AB%26fallback_host%3Dtc.v7.cache1.c.youtube.com%26itag%3D44%26quality%3Dlarge%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Fsver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dcp%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D44%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526key%253Dyt1%2526id%253Do-AN9Uu2UED7A6s5JKISWJX1LYBIwCEw6GRSP_0fewDEt-%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526mt%253D1366319239%2526ipbits%253D8%2526newshard%253Dyes%2526expire%253D1366344277%2526mv%253Dm%2526ratebypass%253Dyes%2Ctype%3Dvideo%252Fx-flv%26sig%3DB91A44B2A7EE59977B12829F6553163C2AE034C2.43894B57F3B0B6DE8A76FB64F3FB65784BD20E5B%26fallback_host%3Dtc.v3.cache3.c.youtube.com%26itag%3D35%26quality%3Dlarge%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D35%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAZJS5VrERYqi_JjPRumHRvCjaxYBpv3pWCZOgNPwAeS%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Ctype%3Dvideo%252Fwebm%253B%2Bcodecs%253D%2522vp8.0%252C%2Bvorbis%2522%26sig%3D6B8D585FB6D4A88BCF9F0417241E1D9D33A73030.CC3A771111B3B74627A03EA666FEBD2BCF6C15A9%26fallback_host%3Dtc.v19.cache8.c.youtube.com%26itag%3D43%26quality%3Dmedium%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Fsver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dcp%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D43%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526key%253Dyt1%2526id%253Do-AMh9X9q9gwBzQ9Ga2iRiV8Uu2vmg7PMtHx4UAhbS7p1z%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526mt%253D1366319239%2526ipbits%253D8%2526newshard%253Dyes%2526expire%253D1366344277%2526mv%253Dm%2526ratebypass%253Dyes%2Ctype%3Dvideo%252Fx-flv%26sig%3D039A490F8B00DC5C87507B18D0815DF9C2DBE11E.6A1AC9D70200D4481FE0AD83BA85E2011AC49485%26fallback_host%3Dtc.v18.cache4.c.youtube.com%26itag%3D34%26quality%3Dmedium%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D34%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAgy0Bk-_vPwIHE6MlG52UYTNRb5k114g42xvD8emSEK%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Ctype%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.42001E%252C%2Bmp4a.40.2%2522%26sig%3D30D8C7E3F224B388BEF8AAB05EF1F06DC2037E83.1BA6666C347B1FD73A0E2506612DA863647732B7%26fallback_host%3Dtc.v19.cache6.c.youtube.com%26itag%3D18%26quality%3Dmedium%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Fsver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dcp%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D18%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526key%253Dyt1%2526id%253Do-AObnergTy6k4uFYXMbiZ8fIaqf30gRrSX2cmtCyORorV%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526mt%253D1366319239%2526ipbits%253D8%2526newshard%253Dyes%2526expire%253D1366344277%2526mv%253Dm%2526ratebypass%253Dyes%2Ctype%3Dvideo%252Fx-flv%26sig%3DD3CD611D2283435015EB28FCC2B5874B71E904EE.CAE002CFB84E8F216D2C6CC82520E6AA0C973ED8%26fallback_host%3Dtc.v17.cache4.c.youtube.com%26itag%3D5%26quality%3Dsmall%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D5%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AFBjrn-Io3ttQDFnsLUCi-xCZCjCSzMMaGSLurUG5mnV%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Ctype%3Dvideo%252F3gpp%253B%2Bcodecs%253D%2522mp4v.20.3%252C%2Bmp4a.40.2%2522%26sig%3D7BD4F55EA681B2A5F11AD6DC56876EC200A7C1D7.2377975C53622E242CC9EC6A4310EA7DBC320BE9%26fallback_host%3Dtc.v12.cache3.c.youtube.com%26itag%3D36%26quality%3Dsmall%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D36%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AOQuXPlHUbx3QEuUUTnfJjT3eu5r_XGQsbDKTnjgZ8t9%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Ctype%3Dvideo%252F3gpp%253B%2Bcodecs%253D%2522mp4v.20.3%252C%2Bmp4a.40.2%2522%26sig%3D2C553EB2B30F7B455D5E50B89BF05A63E1FBC49C.11CF0D9CF3DCE18540AD326553F3A23114283FA3%26fallback_host%3Dtc.v5.cache1.c.youtube.com%26itag%3D17%26quality%3Dsmall%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253Dzz8v_Q_oe4g%2526itag%253D17%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AACpNrL1NY_RmPHMLPnT3aTxXiaDHWse2F2HzK8bXP7S%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm&no_get_video_log=1&afv=true&adaptive_fmts=bitrate%3D1128505%26itag%3D135%26size%3D640x480%26type%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.4d401e%2522%26init%3D0-706%26index%3D707-1254%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526signature%253D9C6AAD2823E140EA2A329A0E07CB15C5F7C2BAD4.3C06564C04CD054853361DF684B4E44364B52489%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253DXHQ90IMRYD4%2526itag%253D135%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAgy0Bk-_vPwIHE6MlG52UYTNRb5k114g42xvD8emSEK%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Cbitrate%3D608696%26itag%3D134%26size%3D480x360%26type%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.4d401e%2522%26init%3D0-707%26index%3D708-1255%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526signature%253D2AA875BFD3EC3295EE0F0210CEF6FD4C030BB6D4.7792FFCB6C9E2C5237A2A4A954369770EFA81B99%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253DXHQ90IMRYD4%2526itag%253D134%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAgy0Bk-_vPwIHE6MlG52UYTNRb5k114g42xvD8emSEK%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Cbitrate%3D277782%26itag%3D133%26size%3D320x240%26type%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.4d400d%2522%26init%3D0-670%26index%3D671-1218%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526signature%253D677D8A96E53039AF3EB7064FD633ACDD69F136DA.5632BBAF7BF91B779E5B88D3265E1C709C3815B2%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253DXHQ90IMRYD4%2526itag%253D133%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAgy0Bk-_vPwIHE6MlG52UYTNRb5k114g42xvD8emSEK%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Cbitrate%3D100432%26itag%3D160%26size%3D192x144%26type%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.42c00b%2522%26init%3D0-671%26index%3D672-1219%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526signature%253D3F0A9A2747C43858D67AB8A28221693BBDEB2EED.52E479812DF21C44DEFE257F1477CEA81EF7831C%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253DXHQ90IMRYD4%2526itag%253D160%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAgy0Bk-_vPwIHE6MlG52UYTNRb5k114g42xvD8emSEK%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Cbitrate%3D48614%26itag%3D139%26type%3Daudio%252Fmp4%253B%2Bcodecs%253D%2522mp4a.40.5%2522%26init%3D0-591%26index%3D592-887%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526signature%253D1835C8E2C845AE73B0ED5C856CFC437F1EBBF777.3DE753EEB82443942523E2818B2834CA3780DAD1%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253DXHQ90IMRYD4%2526itag%253D139%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AB6tOPWjtTfptAkW6FjIB5HqO8Tydrjc7KyPxhO5_GPf%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Cbitrate%3D128103%26itag%3D140%26type%3Daudio%252Fmp4%253B%2Bcodecs%253D%2522mp4a.40.2%2522%26init%3D0-591%26index%3D592-887%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526signature%253D65E09E6DC01C308E04D21C9DE6CC6EB6CFC4A4A9.D42FBD0E727EA17C50C16001CFC980AD734148B5%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253DXHQ90IMRYD4%2526itag%253D140%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAgy0Bk-_vPwIHE6MlG52UYTNRb5k114g42xvD8emSEK%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm%2Cbitrate%3D255875%26itag%3D141%26type%3Daudio%252Fmp4%253B%2Bcodecs%253D%2522mp4a.40.2%2522%26init%3D0-591%26index%3D592-887%26url%3Dhttp%253A%252F%252Fr12---sn-aigllne7.c.youtube.com%252Fvideoplayback%253Ffactor%253D1.25%2526signature%253D0631D6B4562108F17CE30CEE03456D1D697EF53B.071D31BA53B984F9CB86CE89601366441574D3D2%2526sver%253D3%2526cp%253DU0hVS1NPUl9MUUNONV9LSVZDOlpsaGRaeGMtdkl6%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526ip%253D94.192.250.132%2526upn%253DXHQ90IMRYD4%2526itag%253D141%2526ms%253Dau%2526gcr%253Dgb%2526source%253Dyoutube%2526burst%253D40%2526algorithm%253Dthrottle-factor%2526id%253Do-AAgy0Bk-_vPwIHE6MlG52UYTNRb5k114g42xvD8emSEK%2526fexp%253D911403%25252C923129%25252C907225%25252C916614%25252C930901%25252C932000%25252C932004%25252C906383%25252C916911%25252C916910%25252C924605%25252C904479%25252C902000%25252C901208%25252C919512%25252C929903%25252C925714%25252C929119%25252C931202%25252C900821%25252C900823%25252C909419%25252C911416%25252C908529%25252C930807%25252C919373%25252C930803%25252C906836%25252C920201%25252C929602%25252C930101%25252C930609%25252C900824%2526key%253Dyt1%2526ipbits%253D8%2526newshard%253Dyes%2526mt%253D1366319239%2526expire%253D1366344277%2526mv%253Dm&ad_host=ca-host-pub-4404692103537709&abd=1&mpu=true&cosver=10_6_8&invideo=true&keywords=Rick%2CAstley%2CSony%2CBMG%2CMusic%2CUK%2CPop&ad_slots=0&fmt_list=44%2F854x480%2F99%2F0%2F0%2C35%2F854x480%2F9%2F0%2F115%2C43%2F640x360%2F99%2F0%2F0%2C34%2F640x360%2F9%2F0%2F115%2C18%2F640x360%2F9%2F0%2F115%2C5%2F320x240%2F7%2F0%2F0%2C36%2F320x240%2F99%2F0%2F0%2C17%2F176x144%2F99%2F0%2F0&gut_tag=%2F4061%2Fytpwatch%2Fmain_10481&watch_ajax_token=2DjHmsou4lqF2AgVotd_ezhjHnV8MTM2NjQwNTY3MEAxMzY2MzE5Mjcw" allowfullscreen="true" allowscriptaccess="always" bgcolor="#000000">'; | |
$('#player-api').html(rickRollEmbed); | |
} | |
$(document).ready(function() { | |
isRebeccaBlackVideo() ? justSayNo() : rickRoll(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment