Benissou / Iframe Popup

// ==UserScript==
// @name         Iframe Popup
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       Benissou
// @match      *://*/*
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require      https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
// @require      https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.8.0/jquery.modal.min.js
// @grant        GM_addStyle
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_notification
// @grant        GM_getResourceText
// @grant        GM_getResourceURL
// ==/UserScript==

(function() {
    'use strict';

    $("iframe").each(function(){
        var w = 200;
        var h = 200;
        var left = Number((screen.width/2)-(w/2));
        var tops = Number((screen.height/2)-(h/2));
         $(this).before('<button type="button" style=" color: #000; background-color:#fff border:0px solid #aaa; z-index: 1000;   opacity: 0.7;position:relative;float: right;right:0px;bottom:0px;transition: 0.5s;" onclick=\'javascript:window.open("'+ this.src +'", "_blank", "toolbar=no, location=no, directories=no, status=no, menubar=no,scrollbars=1,resizable=1,height=720,width=1280 top='+tops+', left='+left+'");\' >Popup</button>');
    });

})();