Skip to main content


Showing posts from February, 2017

overlay with youtube video - simple

It's very simple but I didn't spent too much time.

you just need to add your image with x.png

paste the js or include it in an external .js file.



var overlay = jQuery('<div id="overlay"></div><div id="box" class="videoWrapper"><iframe src="" frameborder="0" allowfullscreen></iframe></div><div id="closebox"><img src="images/x.png" /></div>');


     function… - XSS | stored xss and sql injections

after registering you can add stored XSS in quite any field.

Other info will be added after that they fix the problems.

Set the placeholder in the input of the Google GCSE custom search engine.

When you play with the google CSE by removing various things via CSS happens that the placeholder could be "undefined".
The timewait or onload are not working correctly and just a workaround.

After your usual script part to include GCSE
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//' + cx;

put this part

gcse.onload = gcse.onreadystatechange = function() { $(function() { // hack to set a placeholder in google's custom search input var pollInput = window.setInterval(function() { var $input = $('.gsc-input input.gsc-input'), $div = $('.search-db'); if ($input.length) { $input.on('focus', function(e) { $div.addClass('wide').removeClass('narrow'); }); $input.on('blur', function(e) { if (!$inpu…