Update indev.user.js
This commit is contained in:
parent
00dd400726
commit
188e738c8c
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name MonsterLyrics button
|
// @name MonsterLyrics button
|
||||||
// @namespace https://github.com/NorbiPeti/
|
// @namespace https://github.com/NorbiPeti/
|
||||||
// @version 0.9
|
// @version 0.10
|
||||||
// @description Creates a button that searches for a lyrics video!
|
// @description Creates a button that searches for a lyrics video!
|
||||||
// @author NorbiPeti
|
// @author NorbiPeti
|
||||||
// @match https://www.youtube.com/*
|
// @match https://www.youtube.com/*
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
window.lasttitle="";
|
window.lasttitle="";
|
||||||
|
|
||||||
function AddYouTube(addtries) {
|
function AddYouTube(addtries) { //TODO: Handle [Official Lyric Video] (if from a mix, test if there is a lyric video on MC channel, if not, go to ML)
|
||||||
var namecont=document.getElementById("watch7-user-header");
|
var namecont=document.getElementById("watch7-user-header");
|
||||||
if(namecont===null || namecont.innerHTML.indexOf("Monstercat")==-1)
|
if(namecont===null || namecont.innerHTML.indexOf("Monstercat")==-1)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue