Last active
December 16, 2015 09:58
-
-
Save mowen/5416352 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 YouTube Prank | |
// @namespace http://patnoddle.com/ | |
// @version 0.1 | |
// @description Make changes to YouTube content. | |
// @match *://*youtube*/* | |
// @copyright 2013+, Pat Noddle | |
// @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 rickRoll() { | |
var rickRollEmbed = '<embed type="application/x-shockwave-flash" src="http://s.ytimg.com/yts/swfbin/watch_as3-vflNKZ-jL.swf" id="movie_player" flashvars="afv=true&video_wall=1&storyboard_spec=http%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&afv_ad_tag=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Floeid%3D906084%252C931602%252C915201%252C916624%252C930902%26video_cpm%3D6000000%26host%3Dca-host-pub-4404692103537709%26ht_id%3D3816642%26channel%3Dafv_instream%252BVertical_3%252BVertical_35%252BVertical_1021%252Bafv_instream_gb%252Byt_mpvid_AATat0TP4QvgvzmG%252Byt_cid_10481%252Bytdevice_1%252Bytps_default%252Bytel_detailpage%26max_ad_duration%3D20000%26ytdevice%3D1%26cust_gender%3D1%26client%3Dca-pub-6219811747049371%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%252Fvideo%252FdQw4w9WgXcQ%26ad_type%3Dvideo%26cust_age%3D1002%26hl%3Den&tmi=1&cbr=Chrome&ad_host=ca-host-pub-4404692103537709&ad_host_tier=3816642&gut_tag=%2F4061%2Fytpwatch%2Fmain_10481&enablejsapi=1&interstitial=http%3A%2F%2Fs.ytimg.com%2Fyts%2Fswf%2Fvevo_preload-vfl9Lfx8C.swf&tpas_video_id=GB1108700010&hl=en_GB&sk=bELIST6SiZu_Y7fVa05ibtTQWXkcOEX8R&ad_preroll=1&sw=1.0&watermark=http%3A%2F%2Fwww.vevo.com%2F%3Futm_source%3Dyoutube%26utm_medium%3Dplayer%26utm_campaign%3Dlogo%2Chttp%3A%2F%2Fs.ytimg.com%2Fyts%2Fimg%2Fwatermark%2Fvevo_watermark-vflyal4o8.png&plid=AATat0TOwSZpwb5q&vq=auto&account_playback_token=NuvejWD3HTaRphSwS9Q5P_lc8Id8MTM2NjQ2Njk3NUAxMzY2MzgwNTc1&as_launched_in_country=1&cbrver=26.0.1410.64&cust_age=1002&ucid=UC38IQsAvIsxxjztdMZQtwHA&ad_eurl=http%3A%2F%2Fwww.youtube.com%2Fvideo%2FdQw4w9WgXcQ&pyv_in_related_cafe_experiment_id=&ad_age=32&cust_gender=1&ad_channel_code_overlay=invideo_overlay_480x70_cat10%2Cafv_overlay%2CVertical_3%2CVertical_35%2CVertical_1021%2Cyt_mpvid_AATat0TP4QvgvzmG%2Cyt_cid_10481%2Cytdevice_1%2Cytps_default%2Cytel_detailpage&aftv=true&fexp=906084%2C931602%2C915201%2C916624%2C930902%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%2C926403%2C900824&ptk=vevo&keywords=Rick%2CAstley%2CSony%2CBMG%2CMusic%2CUK%2CPop&watch_xlb=http%3A%2F%2Fs.ytimg.com%2Fyts%2Fxlbbin%2Fwatch-strings-en_GB-vflMBExso.xlb&ad_slots=0&afv_inslate_ad_tag=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Floeid%3D906084%252C931602%252C915201%252C916624%252C930902%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%252Fvideo%252FdQw4w9WgXcQ%26host%3Dca-host-pub-4404692103537709%26ht_id%3D3816642%26max_ad_duration%3D20000%26ytdevice%3D1%26cust_gender%3D1%26client%3Dca-pub-6219811747049371%26ad_type%3Duserchoice%26cust_age%3D1002%26hl%3Den&url_encoded_fmt_stream_map=type%3Dvideo%252Fwebm%253B%2Bcodecs%253D%2522vp8.0%252C%2Bvorbis%2522%26quality%3Dlarge%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dcp%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cupn%25252Cexpire%2526id%253Do-ADV51-T3roPIChlwPE091rdl0My_iSztwqWrvvUDJFl2%2526ratebypass%253Dyes%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526source%253Dyoutube%2526mv%253Dm%2526mt%253D1366380556%2526itag%253D44%2526newshard%253Dyes%2526ip%253D109.111.212.178%2526expire%253D1366405477%2526sver%253D3%26itag%3D44%26fallback_host%3Dtc.v7.cache1.c.youtube.com%26sig%3DB506F504DC0EF160E162D7118EF5998C10BB5E2D.3E30A1282FDAACD3EB035637A009DFA4773B3ECD%2Ctype%3Dvideo%252Fx-flv%26quality%3Dlarge%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-ACKcyTPnt_DfEjOm2HodVOA0346imiXcprgFPcT_BYCa%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D35%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26itag%3D35%26fallback_host%3Dtc.v3.cache3.c.youtube.com%26sig%3DD8ACBDD0142FADD9D20AE0EA7F7FD9CAE7C87F7D.0AFC8AB30718BAF081175D03A71BE7EF5A2C5721%2Ctype%3Dvideo%252Fwebm%253B%2Bcodecs%253D%2522vp8.0%252C%2Bvorbis%2522%26quality%3Dmedium%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dcp%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cupn%25252Cexpire%2526id%253Do-AFLI93dOv-BMZ-7eQN4cvpQcI2ROysPsUS0r_upx1hii%2526ratebypass%253Dyes%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526source%253Dyoutube%2526mv%253Dm%2526mt%253D1366380556%2526itag%253D43%2526newshard%253Dyes%2526ip%253D109.111.212.178%2526expire%253D1366405477%2526sver%253D3%26itag%3D43%26fallback_host%3Dtc.v19.cache8.c.youtube.com%26sig%3D8083ACCECACC0C7AE6477A8BAA029E795DC9B15E.53BDF6561A7831651B9B088CBEB5E614E28A1A6D%2Ctype%3Dvideo%252Fx-flv%26quality%3Dmedium%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AI__pcaRhNqWdqDNHvv6BesToJKNZ9Tpk7t82J2xa1Kx%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D34%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26itag%3D34%26fallback_host%3Dtc.v18.cache4.c.youtube.com%26sig%3D6EEC79DD37151F13B666A204E6AFE43D23E4EF69.5DC0DC1B25A1A2765CE22F8B9E022AEF9D6106F1%2Ctype%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.42001E%252C%2Bmp4a.40.2%2522%26quality%3Dmedium%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dcp%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cupn%25252Cexpire%2526id%253Do-AFmA1EuYyE6Y8gnb4dhFbY3rHFWrsA9ngTGnEcBgzkOR%2526ratebypass%253Dyes%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526source%253Dyoutube%2526mv%253Dm%2526mt%253D1366380556%2526itag%253D18%2526newshard%253Dyes%2526ip%253D109.111.212.178%2526expire%253D1366405477%2526sver%253D3%26itag%3D18%26fallback_host%3Dtc.v19.cache6.c.youtube.com%26sig%3DD43EBA0F4664D98861FC662CFC6577A84B3699AB.B6D852E0381716173347D841D9D65A72E091DCF0%2Ctype%3Dvideo%252Fx-flv%26quality%3Dsmall%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AHJSuBdS558nMz1o34cU7PGkKmCYDwSpmlbzR4_KSFjR%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D5%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26itag%3D5%26fallback_host%3Dtc.v17.cache4.c.youtube.com%26sig%3D4A8A7A88B232970345C40E7E26BA2977E7D7A096.6E288F5ABB8ABFD5686108A1A8EAA9AA4E97E790%2Ctype%3Dvideo%252F3gpp%253B%2Bcodecs%253D%2522mp4v.20.3%252C%2Bmp4a.40.2%2522%26quality%3Dsmall%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-ABlgr4JlqMzhEfu074e_-CDD_TM8-HMFwH59Z_F264Xh%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D36%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26itag%3D36%26fallback_host%3Dtc.v12.cache3.c.youtube.com%26sig%3D2EF3C4E44A3D572676F792EAF48BBA54A5C64584.52A393DDE4C052E503C20C5C08297086287ED0B3%2Ctype%3Dvideo%252F3gpp%253B%2Bcodecs%253D%2522mp4v.20.3%252C%2Bmp4a.40.2%2522%26quality%3Dsmall%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-ANPbeOHdHLt149P58YPvC6D4EEChnJQ10mPErQ0WShFe%2526upn%253DtIpM6L8bgV8%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D17%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26itag%3D17%26fallback_host%3Dtc.v5.cache1.c.youtube.com%26sig%3D604BDE6B0A1B8519D942CBD2FEDB583D12214A77.60464416CAF06265F10D0A1D665F95F3927662A0&is_html5_mobile_device=false&allow_embed=1&ad_gender=m&t=vjVQa1PpcFO6eKiKtdS33wSwBwq_uGcKTHwrVgROkA4%3D&shortform=true&tk=1&user_age=32&ad_logging_flag=1&advideo=1&pltype=content&afv_video_min_cpm=6000000&inactive_skippable_threshold=600000&dash=1&afv_ad_tag_restricted_to_instream=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Floeid%3D906084%252C931602%252C915201%252C916624%252C930902%26video_cpm%3D6000000%26host%3Dca-host-pub-4404692103537709%26ht_id%3D3816642%26channel%3Dafv_instream%252BVertical_3%252BVertical_35%252BVertical_1021%252Bafv_instream_gb%252Byt_mpvid_AATat0TP4QvgvzmG%252Byt_cid_10481%252Bytdevice_1%252Bytps_default%252Bytel_detailpage%26max_ad_duration%3D20000%26ytdevice%3D1%26cust_gender%3D1%26client%3Dca-pub-6219811747049371%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%252Fvideo%252FdQw4w9WgXcQ%26ad_type%3Dvideo%26cust_age%3D1002%26hl%3Den&c=WEB&autohide=2&cplatform=DESKTOP&timestamp=1366380575&rvs=thumbnail_ids%3DyPYZpwSpKmA%26playlist_title%3DYouTube%2BMix%26list%3DRD02dQw4w9WgXcQ%26video_id%3DyPYZpwSpKmA%26playlist_length%3D50%2Cid%3DyPYZpwSpKmA%26view_count%3D2%252C857%252C423%26title%3DRick%2BAstley%2B-%2BTogether%2BForever%26length_seconds%3D205%26author%3DRickAstleyVEVO%2Cid%3DC2xel6q0yao%26view_count%3D1%252C195%252C506%26title%3DRick%2BAstley%2B-%2BCry%2BFor%2BHelp%26length_seconds%3D294%26author%3DRickAstleyVEVO%2Cid%3DBeyEGebJ1l4%26view_count%3D2%252C219%252C914%26title%3DRick%2BAstley%2B-%2BWhenever%2BYou%2BNeed%2BSomebody%26length_seconds%3D206%26author%3DRickAstleyVEVO%2Cid%3DeYuUAGXN0KM%26view_count%3D475%252C714%26title%3DRick%2BAstley%2B-%2BTake%2BMe%2BTo%2BYour%2BHeart%26length_seconds%3D209%26author%3DRickAstleyVEVO%2Cid%3Dh9KaWydFBMI%26view_count%3D966%252C526%26title%3DTop%2BTen%2BOther%2BVideo%2BGame%2BEaster%2BEggs%26length_seconds%3D1143%26author%3Drabbidluigi%2Cid%3DgAmr60UJvIU%26view_count%3D790%252C987%26title%3DMan%2Bon%2B%2522bath%2Bsalts%2522%2Bdrug%2Bhides%2Bfrom%2Bpolice%2Bon%2Bbridge%2Bin%2BBangor%252C%2BMaine%2B-%2BSee%2Bmore%2Bat%2Bdirtyawesome.com%26length_seconds%3D160%26author%3DSoylentGreenBlog%2Cid%3Dhe8SuYqHTmM%26view_count%3D6%252C235%252C381%26title%3DTop%2BMinecraft%2BSongs%2Bof%2BAll%2BTime%2B-%2BTop%2BTwenty%2BHD%2B%2528ft.%2BFALLEN%2BKINGDOM%252C%2BCUBE%2BLAND%252C%2BAND%2BMORE%2521%2529%26length_seconds%3D3906%26author%3DDevastatorBrawl217%2Cid%3Dt-njAuS7eTQ%26view_count%3D2%252C081%252C595%26title%3DBridgit%2BMendler%2B-%2BHurricane%2B%2528Official%2BVideo%2529%26length_seconds%3D242%26author%3DBridgitMendlerVEVO%2Cid%3DZi_XLOBDo_Y%26view_count%3D82%252C790%252C895%26title%3DMichael%2BJackson%2B-%2BBillie%2BJean%26length_seconds%3D295%26author%3DmichaeljacksonVEVO%2Cid%3DfcxsfN4jSV8%26view_count%3D4%252C945%252C548%26title%3DFunny%2BFamily%2BGuy%2BMoments%26length_seconds%3D243%26author%3DCrAnkyJester%2Cid%3DZyhrYis509A%26view_count%3D79%252C615%252C761%26title%3DAqua%2B-%2BBarbie%2BGirl%26length_seconds%3D202%26author%3DAquaVEVO&mpu=true&cos=Windows&dashmpd=http%3A%2F%2Fwww.youtube.com%2Fapi%2Fmanifest%2Fdash%2Fipbits%2F8%2Fcp%2FU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2Fsparams%2Fas%252Ccp%252Cid%252Cip%252Cipbits%252Csource%252Cexpire%2Fas%2Ffmp4_audio_clear%252Cwebm_audio_clear%252Cfmp4_sd_hd_clear%252Cwebm_sd_hd_clear%2Fid%2F750c38c3d5a05dc4%2Fsignature%2F2AA54E2D086761AC0FCE595C8771C6646993D810.7C8674C32C7DFC9B07BE2AE359B95455763DF22F%2Fupn%2F6OwKK1GR18s%2Ffexp%2F906084%252C931602%252C915201%252C916624%252C930902%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%252C926403%252C900824%2Fsource%2Fyoutube%2Fexpire%2F1366405477%2Fip%2F109.111.212.178%2Fkey%2Fyt1%2Fsver%2F3&fw=1&q=rick%20astley&loeid=906084%2C931602%2C915201%2C916624%2C930902&cafe_experiment_id=&instream=true&csi_page_type=watch7ad&cosver=6.1&yt_pt=AD1B29l8H66cilgksZAiOMlQWmFvvFudAlEK_mbCDsSaZu-Z-Ki9oyFbXN4yYRM1Wm4ncMNnh9WMHI0_XQwnxzLKue89iXnPGiSPAVXCvk6WJsNdLey2hUTkutdSYDcyMHMvUWjBJAnEJ4Hr3g6U&tpas_ad_type_id=1&tpas_partner_id=40185&ad3_module=http%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fad3-vflfVm1jO.swf&trueview=true&logwatch=1&sffb=true&ptchn=RickAstleyVEVO&sourceid=ys&prefetch_ad_live_stream=true&ad_channel_code_instream=afv_instream%2CVertical_3%2CVertical_35%2CVertical_1021%2Cafv_instream_gb%2Cyt_mpvid_AATat0TP4QvgvzmG%2Cyt_cid_10481%2Cytdevice_1%2Cytps_default%2Cytel_detailpage&title=Rick%20Astley%20-%20Never%20Gonna%20Give%20You%20Up&dclk=true&no_get_video_log=1&loudness=-20.4500007629&ad_video_pub_id=ca-pub-6219811747049371&watch_ajax_token=KvrlLujg7uA0-ndjNavMAUT3KGF8MTM2NjQ2Njk3NUAxMzY2MzgwNTc1&cid=10481&ad_language_iso639_2=eng&referrer=http%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3Drick%2Bastley%26oq%3Drick%2Bastley%26gs_l%3Dyoutube.3..0l10.1457.10159.0.10385.11.7.0.4.4.0.56.353.7.7.0...0.0...1ac.1.lLlofn6GVzE&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&ad_device=1&ad_tag=http%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%3DAATat0TP4QvgvzmG%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%3D1%3Byt_vrallowed%3D1%3Bytcat%3D10%3Bytdevice%3D1%3Bytexp%3D906084%2C931602%2C915201%2C916624%2C930902%3Bytps%3Ddefault%3Bytvt%3Dw%3B!c%3D10481%3Bk2%3D3%3Bk2%3D35%3Bk2%3D1021%3Bkvlg%3Den%3B&video_id=dQw4w9WgXcQ&showpopout=1&oid=yZJtHRi2SvzOOKZfbA-GRA&host_language=en&cr=GB&mpvid=AATat0TP4QvgvzmG&afv_instream_max=20000&length_seconds=213&playlist_module=http%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fplaylist_module-vflbKT31_.swf&adaptive_fmts=type%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.4d401e%2522%26size%3D640x480%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AI__pcaRhNqWdqDNHvv6BesToJKNZ9Tpk7t82J2xa1Kx%2526signature%253DC2C8CF1A512EF3C1F909BBEC2B843139E1CF59FE.2967FB9D336CBFC1D1584CD5D723862091F0E187%2526upn%253DEfcKrfuF0L0%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D135%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26init%3D0-706%26itag%3D135%26bitrate%3D1128505%26index%3D707-1254%2Ctype%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.4d401e%2522%26size%3D480x360%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AI__pcaRhNqWdqDNHvv6BesToJKNZ9Tpk7t82J2xa1Kx%2526signature%253D5C75A1E89CB3E4B43A25514F024A6331B0065978.1195DA4D71A19097D2E37AB11A726D393638CF86%2526upn%253DEfcKrfuF0L0%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D134%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26init%3D0-707%26itag%3D134%26bitrate%3D608696%26index%3D708-1255%2Ctype%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.4d400d%2522%26size%3D320x240%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AI__pcaRhNqWdqDNHvv6BesToJKNZ9Tpk7t82J2xa1Kx%2526signature%253D15844807A00DB3DD4E627690618E9C30CF8A7572.90A341972C1046A8CFB4C3D949B08123FA014245%2526upn%253DEfcKrfuF0L0%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D133%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26init%3D0-670%26itag%3D133%26bitrate%3D277782%26index%3D671-1218%2Ctype%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.42c00b%2522%26size%3D192x144%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AI__pcaRhNqWdqDNHvv6BesToJKNZ9Tpk7t82J2xa1Kx%2526signature%253D60EFE734DD2FAC05D34A349D50EED9F34C27ABC3.601539C0FDA532C8CFA3ED2F6E4D1078F2CB654A%2526upn%253DEfcKrfuF0L0%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D160%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26init%3D0-671%26itag%3D160%26bitrate%3D100432%26index%3D672-1219%2Ctype%3Daudio%252Fmp4%253B%2Bcodecs%253D%2522mp4a.40.5%2522%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AO9ibbjFSO-ePXWs06P9dFpuBycB5Bq89LGd-c7M_eyK%2526signature%253D787BA48F6EDD14DBEC30C2FA5A9F0683BD7E2D1B.4415847C147DBBCD8DD893F25B5D1885A80DA11E%2526upn%253DEfcKrfuF0L0%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D139%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26init%3D0-591%26itag%3D139%26bitrate%3D48614%26index%3D592-887%2Ctype%3Daudio%252Fmp4%253B%2Bcodecs%253D%2522mp4a.40.2%2522%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AI__pcaRhNqWdqDNHvv6BesToJKNZ9Tpk7t82J2xa1Kx%2526signature%253D987C0244D9DB3A5F682D62B296F4691BFA2B8540.0295344BE85D5F692C32B2FE2828DBF35B0EB64C%2526upn%253DEfcKrfuF0L0%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D140%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26init%3D0-591%26itag%3D140%26bitrate%3D128103%26index%3D592-887%2Ctype%3Daudio%252Fmp4%253B%2Bcodecs%253D%2522mp4a.40.2%2522%26url%3Dhttp%253A%252F%252Fr12---sn-aigezn7r.c.youtube.com%252Fvideoplayback%253Fipbits%253D8%2526mt%253D1366380556%2526cp%253DU0hVS1RLU19MUUNONV9MRVdFOmh5eWNhWmtMeGsz%2526gcr%253Dgb%2526sparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cgcr%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cupn%25252Cexpire%2526newshard%253Dyes%2526id%253Do-AI__pcaRhNqWdqDNHvv6BesToJKNZ9Tpk7t82J2xa1Kx%2526signature%253DA5E648DD2F346D7FF82E30F09EB38E2DF16E976C.1312651A2F8A6FA240FF772CC71AB2CBFA6979FB%2526upn%253DEfcKrfuF0L0%2526key%253Dyt1%2526fexp%253D906084%25252C931602%25252C915201%25252C916624%25252C930902%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%25252C926403%25252C900824%2526ms%253Dau%2526burst%253D40%2526mv%253Dm%2526source%253Dyoutube%2526itag%253D141%2526expire%253D1366405477%2526ip%253D109.111.212.178%2526algorithm%253Dthrottle-factor%2526factor%253D1.25%2526sver%253D3%26init%3D0-591%26itag%3D141%26bitrate%3D255875%26index%3D592-887&invideo=true&pprl=http%3A%2F%2Fvevo.ly%2FzDK6YR&pprs=http%3A%2F%2Fs.ytimg.com%2Fyts%2Fswf%2FVevo-vfleQZ64T.swf&share_icons=http%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fsharing-vfl_QVGEs.swf&user_gender=m&ad_flags=0&abd=1&adsense_video_doc_id=yt_dQw4w9WgXcQ&enablecsi=1&endscreen_module=http%3A%2F%2Fs.ytimg.com%2Fyts%2Fswfbin%2Fendscreen-vfl9-T2Qc.swf" allowfullscreen="true" allowscriptaccess="always" bgcolor="#000000">'; | |
console.log('RICK ROLLLLLL!'); | |
$('#player-api').html(rickRollEmbed); | |
} | |
$(document).ready(function() { | |
if (isRebeccaBlackVideo()) { | |
rickRoll(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment