From: Nicolas Boisselier Date: Thu, 4 Oct 2018 03:09:35 +0000 (+0100) Subject: www/dbq/html/default.js X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=bd6429e92fa6a883bb2ecacf982ba6e8fa5bf9e8;p=nb.git www/dbq/html/default.js --- diff --git a/www/dbq/html/default.js b/www/dbq/html/default.js index ac19326e..73971911 100644 --- a/www/dbq/html/default.js +++ b/www/dbq/html/default.js @@ -1,4 +1,37 @@ document.addEventListener("DOMContentLoaded", function() { + + var modal = ' + + '; + $('a.disable[href*="tube.com/watch"]').each(function() { + $(this).attr('target',''); + //$(this).css('card'); + //console.log('zaza'); + $(this).on('click',function(){ + console.log('zaza'); + return false; + }); + }); + $('.db-rows form.rm').each(function() { }); @@ -269,3 +302,8 @@ function dbqPrettyText(str) { str = str.replace(/[^a-zA-Z0-9]+/g,' '); return str; } + +function iframe_embed(href) { + console.log(href); + return false; +}