qd.mrdeer.top
Open in
urlscan Pro
2606:4700:3037::ac43:d936
Public Scan
URL:
https://qd.mrdeer.top/
Submission: On March 26 via api from US — Scanned from US
Submission: On March 26 via api from US — Scanned from US
Form analysis
1 forms found in the DOM<form>
<h2 class="text-center">QD框架<sup id="qd_header_sup">20240210</sup></h2>
<script>
var qd_header_sup = document.getElementById('qd_header_sup')
qd_header_sup.innerHTML = get_holiday_or_version(qd_header_sup.innerHTML)
</script>
<hr><br>
<div class="form-group" id="site-select-div">
<label class="control-label" for="site-select">
<a target="_blank" id="siteurl" style="color:black;" href="">网站</a>
<a class="control-helper" href="/tpls/public">查看所有公开模板</a>
</label>
<select class="form-control select2-hidden-accessible" name="_binux_tplid" id="tplid" data-select2-id="tplid" tabindex="-1" aria-hidden="true">
</select><span class="select2 select2-container select2-container--default" dir="ltr" data-select2-id="1" style="width: 100%;"><span class="selection"><span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true"
aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-tplid-container"><span class="select2-selection__rendered" id="select2-tplid-container" role="textbox" aria-readonly="true"></span><span
class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span></span></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>
</div>
<div id="variables">
<script>
$('#siteurl').attr("href", "");
</script>
</div>
<div class="text-right">
<a data-load-method="POST" href="/tpl/run" id="run" class="btn btn-default modal_load">立即执行</a>
<a href="/register" class="btn btn-primary">创建任务</a>
</div>
<script>
$(function() {
$('#run').data('data-callback', function() {
var tplid = $('select[name=_binux_tplid]').val();
var env = {};
for (var _env = $('form').serializeArray(), i = _env.length - 1; i >= 0; i--) {
env[_env[i].name] = _env[i].value;
}
return {
env: JSON.stringify(env),
_binux_tplid: tplid,
}
});
})
</script>
<script>
$(function() {
// load tpl variables
$('select[name=_binux_tplid]').on('change', function() {
$('#variables').load("/tpl/" + $(this).val() + "/var");
});
// auto fill note
$('#variables').on('change', '[name=username]', function() {
if ($('#note').val() == '') {
$('#note').val($(this).val());
}
});
//if ($('body').attr('get-cookie') == 'true') {
// $('[data-toggle=get-cookie][disabled]').attr('disabled', false);
//}
// fill cookie
$('#variables').on('click', '[data-toggle=get-cookie]', function() {
var $this = $(this);
if ($this.attr('disabled')) return;
if ($('body').attr('get-cookie') != 'true') {
//$this.html('没有插件,详情F12')
//console.log('如需要插件请访问 https://github.com/qd-today/get-cookies/ 下载并手动安装插件');
if ($this.attr('getmod') == 1) {
$this.attr('href', 'https://github.com/qd-today/get-cookies/').attr('target', '_blank').html('安装插件后请刷新');
} else {
$this.attr('getmod', 1).html('再次点击前往安装 Get-Cookies 插件')
}
}
});
window.addEventListener("message", function(event) {
if (event.origin != window.location.origin) {
return;
}
var cookie = event.data;
var cookie_str = "";
for (key in cookie) {
cookie_str += key + '=' + cookie[key] + '; '
}
if (cookie_str == '') {
// alert('没有获得cookie,您是否已经登录?');
return;
}
$('#input-cookie').val(cookie_str);
}, false);
})
</script>
<div class="modal fade" id="modal_load" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
</div>
</div>
</div>
<script>
$(function() {
var lock = false;
$('#modal_load').on('hide.bs.modal', function() {
return !lock;
});
$(document).on('click', ".modal_load", function() {
if (lock) return false;
var $this = $(this);
var text = $this.text();
//$this.text('loading...');
lock = true;
$('#modal_load .modal-content').html('<h1 class="text-center alert alert-info">loading...</h1>');
$('#modal_load').modal('show');
$.ajax($this.attr('href'), {
type: $this.data('load-method') || 'GET',
data: $this.data('data-callback') && $this.data('data-callback')($this) || '',
}).done(function(data) {
$('#modal_load .modal-content').html(data);
}).fail(function(jxhr, data) {
$('#modal_load .modal-content').html('<h1 class="text-center alert alert-danger">运行失败</h1><div class="well"></div>').find('.well').text(jxhr.responseText);
}).always(function(jxhr) {
if (jxhr.status == 504) {
$('#modal_load .modal-content').html('<h1 class="text-center alert alert-danger">超时</h1><div class="well"></div>').find('.well').text('前端回调获取响应超时, 请耐心等待或刷新页面后查看执行结果');
}
lock = false;
})
return false;
})
})
</script>
<script>
var _id = "#tplid";
var _width = "100%";
$.fn.modal.Constructor.prototype.enforceFocus = function() {}
$(document).ready(function() {
$(_id).select2({
width: _width
});
});
</script>
</form>
Text Content
登录 QD框架20240210 -------------------------------------------------------------------------------- 网站 查看所有公开模板 立即执行 创建任务 -------------------------------------------------------------------------------- 源代码: QD| Powered by QD-Today | Theme by Mark © 2021.