403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.216.231
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/webmail/plugins/newmail_notifier/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/webmail/plugins/newmail_notifier/newmail_notifier.min.js
/**
 * New Mail Notifier plugin script
 *
 * @author Aleksander Machniak <alec@alec.pl>
 *
 * @licstart  The following is the entire license notice for the
 * JavaScript code in this file.
 *
 * Copyright (c) The Roundcube Dev Team
 *
 * The JavaScript code in this page is free software: you can redistribute it
 * and/or modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation, either version 3 of
 * the License, or (at your option) any later version.
 *
 * @licend  The above is the entire license notice
 * for the JavaScript code in this file.
 */
function newmail_notifier_run(i){i.basic&&newmail_notifier_basic(),i.sound&&newmail_notifier_sound(),i.desktop&&newmail_notifier_desktop(rcmail.get_label("body","newmail_notifier"))}function newmail_notifier_stop(i){!rcmail.env.favicon_href||!rcmail.env.favicon_changed||i&&"check-recent"==i.action||($('<link rel="shortcut icon" href="'+rcmail.env.favicon_href+'"/>').replaceAll('link[rel="shortcut icon"]'),rcmail.env.favicon_changed=0);try{window.external.msIsSiteMode()&&window.external.msSiteModeClearIconOverlay()}catch(i){}}function newmail_notifier_basic(){var i=rcmail.is_framed()?window.parent:window,e=rcmail.assets_path("plugins/newmail_notifier"),n=(i.focus(),$('<link rel="shortcut icon">').attr("href",e+"/favicon.ico")),i=$('link[rel="shortcut icon"]',i.document);rcmail.env.favicon_href||(rcmail.env.favicon_href=i.attr("href")),rcmail.env.favicon_changed=1,n.replaceAll(i);try{window.external.msIsSiteMode()&&window.external.msSiteModeSetIconOverlay(e+"/overlay.ico",rcmail.get_label("title","newmail_notifier"))}catch(i){}}function newmail_notifier_sound(){var e=rcmail.assets_path("plugins/newmail_notifier/sound"),i=navigator.mimeTypes?navigator.mimeTypes["audio/mp3"]:{};e+=bw.ie||i&&i.enabledPlugin?".mp3":".wav";try{$("<audio>").attr("src",e).get(0).play()}catch(i){$('<embed id="sound" src="'+e+'" hidden=true autostart=true loop=false />').appendTo($("body")),setTimeout("$('#sound').remove()",5e3)}}function newmail_notifier_desktop(n,t){var a=rcmail.env.newmail_notifier_timeout||10,o=rcmail.assets_path("plugins/newmail_notifier/mail.png");try{return window.Notification.requestPermission(function(i){var e;"granted"==i?((e=new window.Notification(rcmail.get_label("title","newmail_notifier"),{dir:"auto",lang:"",body:n,tag:"newmail_notifier",icon:o})).onclick=function(){this.close()},setTimeout(function(){e.close()},1e3*a)):"denied"==i&&t&&t()}),!0}catch(i){return!1}}function newmail_notifier_test_desktop(){newmail_notifier_desktop(rcmail.get_label("testbody","newmail_notifier"),function(){rcmail.display_message(rcmail.get_label("desktopdisabled","newmail_notifier"),"error")})||rcmail.display_message(rcmail.get_label("desktopunsupported","newmail_notifier"),"error")}function newmail_notifier_test_basic(){newmail_notifier_basic()}function newmail_notifier_test_sound(){newmail_notifier_sound()}window.rcmail&&"mail"==rcmail.env.task&&rcmail.addEventListener("plugin.newmail_notifier",newmail_notifier_run).addEventListener("actionbefore",newmail_notifier_stop).addEventListener("init",function(){rcmail.message_list&&rcmail.message_list.addEventListener("select",newmail_notifier_stop)});

Youez - 2016 - github.com/yon3zu
LinuXploit