-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookmark.min.js
1 lines (1 loc) · 1.11 KB
/
bookmark.min.js
1
!function(){function t(t){$(".playerVideo").html('<div style="outline: 10px dotted yellow;"><iframe webkitallowfullscreen mozallowfullscreen allowfullscreen width="640" height="360" frameborder="0" scrolling="no" src="http://player.canalplus.fr/embed/?param=cplus&vid='+t+'"></iframe></div').css({"box-shadow":"0 0 10px yellow",position:"relative"})}if(-1==location.href.indexOf("?vid="))var e=$("._thumbs.current").first().find("a").attr("href");else var e=location.href;t(e.split("?vid=")[1]);var i=$("._thumbs a, .thumbs a");i.each(function(){$(this).attr("onclick",""),$(this).attr("data-href",$(this).attr("href")),$(this).attr("href","#")}),i.on("click",function(e){e.preventDefault(),t($(this).attr("data-href").split("?vid=")[1])}),i.on("dblclick",function(){window.location.href=$(this).attr("data-href")}),$("body").append('<div style=" position: fixed; z-index: 1000; top: 33px; left: 36px; background-color: rgb(249, 255, 13); padding: 0.3em 0.5em 0.2em; color: #000; font-size: 25px; text-transform: uppercase; font-family: league gothic,impact,sans-serif; transform: rotate(-7deg); letter-spacing: 0.8px;">Hacked !</div>')}();