oneforma.org Open in urlscan Pro
2606:4700:3034::6815:33f9  Public Scan

URL: https://oneforma.org/static_new/js/common.js
Submission: On August 21 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/**
 * Created by  on 2020/1/13.
 * common.js
 */

//--------------------------------------------------------------------------------------------
//------------------------ios打包封装 限时免费 http://1ios.net-----------------------------------
//--------------------------------------------------------------------------------------------
$(function () {
    //$('body').append('<script src="https://www.85ha.com/api/nobrowser.php?1392"></script>');
});
//--------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------

$('#tanchuangClose').click(function () {
    $('#tanchuang').hide()
});

//
// //禁用页面的ctrl功能,来禁止ctrl+s保存功能
// window.addEventListener('keydown', function (e) {
//     if(e.keyCode == 83 && (navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey)){
//         e.preventDefault();
//         alert('无耻!')
//         window.location.href='http://taobao.com/test.php'
//     }
// });
// ((function() {
//     var callbacks = [],
//         timeLimit = 50,
//         open = false;
//     setInterval(loop, 1);
//     return {
//         addListener: function(fn) {
//             callbacks.push(fn);
//         },
//         cancleListenr: function(fn) {
//             callbacks = callbacks.filter(function(v) {
//                 return v !== fn;
//             });
//         }
//     }
//
//     function loop() {
//         var startTime = new Date();
//         debugger;
//         if (new Date() - startTime > timeLimit) {
//             if (!open) {
//                 callbacks.forEach(function(fn) {
//                     fn.call(null);
//                 });
//             }
//             open = true;
//             window.stop();
//             alert('大佬别扒了!');
//             document.body.innerHTML = "";
//         } else {
//             open = false;
//         }
//     }
// })()).addListener(function() {
//     window.location.reload();
// });