-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBookmarks Turn Off the Lights.bestand
7 lines (7 loc) · 2.19 KB
/
Bookmarks Turn Off the Lights.bestand
1
2
3
4
5
6
7
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
[InternetShortcut]
URL=javascript:(function(){function $(id){ return document.getElementById(id);} /* TOTL list */ /* id way */var websiteapi = $('dont-turn-off-the-lights');if(websiteapi){$('dont-turn-off-the-lights').style.zIndex = 1000;$('dont-turn-off-the-lights').style.visibility = 'visible';$('dont-turn-off-the-lights').style.position = 'relative';}/* HTML5 video */video = document.getElementsByTagName("video"); for(var i = 0; i < video.length; i++ ) {if(video[i]) {video[i].style.zIndex = 1000;video[i].style.visibility = 'visible';video[i].style.position = 'relative';}} /* class way */div = document.getElementsByTagName("*"); for(var i = 0; i < div.length; i++ ){if(div[i].className == ("dont-turn-off-the-lights")) {div[i].style.zIndex = 1000;div[i].style.visibility = 'visible';div[i].style.position = 'relative';}} /* MAC & PC & LINUX */ var movieplayer = $('movie_player');if(movieplayer){$('movie_player').style.zIndex = 1000;$('movie_player').style.visibility = 'visible';$('movie_player').style.position = 'relative';}/* Youtube Channel, fixed show video */var userplaylist = $('user_playlist_navigator');if(userplaylist)$('user_playlist_navigator').style.zIndex = 'auto';var playnav = $('playnav-body');if(playnav)$('playnav-body').style.zIndex = 'auto';var player = $('playnav-player');if(player)$('playnav-player').style.zIndex = 1000;/* HTML5 */ var html5player = $('html5-player');if(html5player){$('html5-player').style.zIndex = 1001;$('html5-player').style.visibility = 'visible';$('html5-player').style.position = 'relative';}var youtubehtml5 = $('video-player');if(youtubehtml5){$('video-player').style.zIndex = 1001;$('video-player').style.visibility = 'visible';/*$('video-player').style.position = 'relative';*/} /* Begin code TOTL */ var blackon = $('stefanvdlightareoff');if(blackon){document.body.removeChild(blackon);}else{var p = document.createElement('div');p.id = 'stefanvdlightareoff';p.setAttribute('style', 'opacity: 0.8; top: 0; left: 0; position: fixed; width: 100%; height: 100%; background-color: black; z-index: 999;');document.body.appendChild(p);}})()
IDList=
IconFile=http://turnoffthelights.googlecode.com/files/favicon.ico
IconIndex=1