NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name LMSA-FullScreen // @namespace Send-Bulk-SMS // @description Show LMSA Video in full Screen // @include http://103.16.142.152/LMSA/VehicleTracking.aspx // @version 1 // @grant none // ==/UserScript== function jQueryInclude(callback) { var jQueryScript = document.createElement('script'); var jQueryCDN = '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'; jQueryScript.setAttribute('src', jQueryCDN); jQueryScript.addEventListener('load', function () { var UserScript = document.createElement('script'); UserScript.textContent = 'window.jQ=jQuery.noConflict(true);' + 'var BaseURL = "http://localhost/";' + '(' + callback.toString() + ')();'; document.head.appendChild(UserScript); }, false); document.head.appendChild(jQueryScript); } jQueryInclude(function () { jQ('option').html(function () { return jQ(this).val() + ' - ' + jQ(this).html(); }); var HackUI = '' + '<div id="HackUI">' + '<input type="button" id="CmdGo" value="Full Screen"/>' + '</div>'; jQ('#form1').before(HackUI); jQ('[id^=Cmd]').css({ 'margin': '5px', 'padding': '5px' }); jQ(".right_panel").hide(); jQ(".map_div").parent().hide(); jQ(".left_panel").css({'width':'100%'}); jQ("#containerLeft").parent().css({'height':'100%'}); /** * Perform the Selected Action */ jQ("#CmdGo").click(function () { jQ('#containerLeft_wrapper').css({ 'position': 'absolute', 'display': 'inline-block', 'left': '0', 'top': '0', 'height':'100%', 'width':'100%', 'z-index':'999' }); //jQ("body").html(jQ("#containerLeft_wrapper")); }); });