// ==UserScript== // @name 🔍一步搜题,自助查题|无侵入,更安全|超星学习通|智慧树|成人本科|继续教育|复制、截图搜题|超全题库,专业开发,值得信赖 // @version 1.1.0 // @description 一步搜题、自主查题,覆盖范围广,答案全,速度快。安全至上,不侵入主网站网络,不搜集用户信息,不主动提交,安全靠谱有保障,无后顾之忧当。涵盖中学、大学,超星学习通,国家开放大学,智慧树,成人本科,继续教育等题库,支持复制搜题,截图搜题,方便快捷,一步到位,欢迎使用 // @author You // @match *://*/* // @match *://超星.com/* // @match *://搜题.com/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @require https://unpkg.com/jquery@3.6.4/dist/jquery.js // @require https://cdnjs.cloudflare.com/ajax/libs/vue/2.7.16/vue.min.js // @grant GM_info // @grant GM_xmlhttpRequest // @grant GM_getResourceText // @grant GM_addStyle // @grant GM_addElement // @connect appwk.baidu.com // @connect 39.105.186.109 // @grant GM.getValue // @grant GM.setValue // @grant GM_setValue // @grant GM_getValue // @noframes // @antifeature ads 脚本搜索题目时,可能附带广告 // @antifeature payment 脚本题目搜索,需对接第三方接口付费 // @namespace https://greasyfork.org/zh-CN/users/1251635-ebsoo // @downloadURL https://update.greasyfork.icu/scripts/485490/%F0%9F%94%8D%E4%B8%80%E6%AD%A5%E6%90%9C%E9%A2%98%EF%BC%8C%E8%87%AA%E5%8A%A9%E6%9F%A5%E9%A2%98%EF%BD%9C%E6%97%A0%E4%BE%B5%E5%85%A5%EF%BC%8C%E6%9B%B4%E5%AE%89%E5%85%A8%EF%BD%9C%E8%B6%85%E6%98%9F%E5%AD%A6%E4%B9%A0%E9%80%9A%EF%BD%9C%E6%99%BA%E6%85%A7%E6%A0%91%EF%BD%9C%E6%88%90%E4%BA%BA%E6%9C%AC%E7%A7%91%EF%BD%9C%E7%BB%A7%E7%BB%AD%E6%95%99%E8%82%B2%EF%BD%9C%E5%A4%8D%E5%88%B6%E3%80%81%E6%88%AA%E5%9B%BE%E6%90%9C%E9%A2%98%EF%BD%9C%E8%B6%85%E5%85%A8%E9%A2%98%E5%BA%93%EF%BC%8C%E4%B8%93%E4%B8%9A%E5%BC%80%E5%8F%91%EF%BC%8C%E5%80%BC%E5%BE%97%E4%BF%A1%E8%B5%96.user.js // @updateURL https://update.greasyfork.icu/scripts/485490/%F0%9F%94%8D%E4%B8%80%E6%AD%A5%E6%90%9C%E9%A2%98%EF%BC%8C%E8%87%AA%E5%8A%A9%E6%9F%A5%E9%A2%98%EF%BD%9C%E6%97%A0%E4%BE%B5%E5%85%A5%EF%BC%8C%E6%9B%B4%E5%AE%89%E5%85%A8%EF%BD%9C%E8%B6%85%E6%98%9F%E5%AD%A6%E4%B9%A0%E9%80%9A%EF%BD%9C%E6%99%BA%E6%85%A7%E6%A0%91%EF%BD%9C%E6%88%90%E4%BA%BA%E6%9C%AC%E7%A7%91%EF%BD%9C%E7%BB%A7%E7%BB%AD%E6%95%99%E8%82%B2%EF%BD%9C%E5%A4%8D%E5%88%B6%E3%80%81%E6%88%AA%E5%9B%BE%E6%90%9C%E9%A2%98%EF%BD%9C%E8%B6%85%E5%85%A8%E9%A2%98%E5%BA%93%EF%BC%8C%E4%B8%93%E4%B8%9A%E5%BC%80%E5%8F%91%EF%BC%8C%E5%80%BC%E5%BE%97%E4%BF%A1%E8%B5%96.meta.js // ==/UserScript== $(document).ready(function() { if (window.self !== window.top) { return; } // 全局变量 var show = false; var validateKey = ''; let ebScriptInfo = { version: '', author: '' }; var baseEbAddress = 'http://39.105.186.109'; // var baseEbAddress = 'http://127.0.0.1:4001'; // Header Vue.component('eb-header', { template: `
`, data: function() { return { draggleId: 'ebMyHeader', targetId: 'ebsooWrap0104', state: { dragging: false, initX: 0, initY: 0, transX: 0, transY: 0, moveX: 0, moveY: 0, } } }, mounted() { this.makeDraggable(this.state, document.getElementById(this.draggleId), document.getElementById(this.targetId)); }, methods: { closeEv() { ebToggleOpenClose(); }, makeDraggable(state, el, target) { function globalMousemove(event) { const { clientX, clientY } = event; const { initX, initY, transX, transY } = state; const moveX = clientX - initX; const moveY = clientY - initY; target.style.transform = `translate(${transX + moveX}px, ${transY + moveY}px)`; state.moveX = moveX; state.moveY = moveY; state.dragging = true; } function globalMouseup(_event) { const { transX, transY, moveX, moveY } = state; state.transX = transX + moveX; state.transY = transY + moveY; state.moveX = 0; state.moveYY = 0; document.removeEventListener('mousemove', globalMousemove); document.removeEventListener('mouseup', globalMouseup); state.dragging = null; } function mousedown(event) { const {clientX, clientY} = event; state.initX = clientX; state.initY = clientY; document.addEventListener('mousemove', globalMousemove); document.addEventListener('mouseup', globalMouseup); } el.addEventListener('mousedown', mousedown); } } }); // Tab 组件 Vue.component('eb-tab', { data: function () { return { tabList: [ { name: '搜题' }, { name: '设置' } ], currentIndex: 0 } }, template: `
{{tab.name}}
`, methods: { switchTab(idx) { this.currentIndex = idx; this.$emit('switch-tab', idx); } } }); // Key 输入 Vue.component('eb-key-context', { data: function () { return { yourKey: '', } }, template: `
获取校验码 >
`, mounted() { ebGetValue('ebKey').then(res => { let key = JSON.parse(res).key this.yourKey = key; validateKey = this.yourKey; }) }, methods: { handleEbKeyInput(event) { setTimeout(() => { validateKey = this.yourKey; ebSetValue('ebKey', { key: validateKey }) }, 100); }, toEbSet() { ebVmdf.$refs.ebSwitchTabRef.switchTab(1); } } }); // 搜索 Vue.component('eb-content-search', { template: `
{{index}}
选项:
{{idx + 1}}、{{option}}
答案:
答案:
{{item.errMsg || '服务异常'}}
解析:
Group-152xe971416c6ee82cb6.png
输入校验码和题目后搜索
`, mounted() { setTimeout(() => { let iframeRef = document.getElementById('ebTextIFrame') var iframeDoc = iframeRef.contentDocument || iframeRef.contentWindow.document; $(iframeDoc.body).append($('
')); this.iframeDoc = iframeDoc; var style = iframeDoc.createElement('style'); style.textContent = ` body { margin: 0; background-color: #fff; line-height: normal; } .eb-real-text-input { box-sizing: border-box; width: 374px;height: 100px;background: #F5F7FB;border-radius: 8px 8px 8px 8px;padding: 10px 12px;font-weight: 500;font-size: 14px;color: #282828; } .eb-real-text-input:empty::before { content: '输入题目或者截图进来,然后搜索'; color: #CCC; font-weight: normal; } .eb-real-text-input:focus { border: none; outline: none; } `; iframeDoc.head.appendChild(style); this.iframeDoc.getElementById('ebRealTextInput').addEventListener("keydown", function(event) { if (event.key === "Enter" || event.keyCode === 13) { event.preventDefault(); ebEnterThrottle(); } }); }, 500) }, data: function() { return { showLoading: false, remainCount: 0, dataList: [], iframeDoc: {} } }, methods: { submit() { let allText = this.iframeDoc.getElementById('ebRealTextInput').innerText; allText = allText.replace(/\n|\t|\s/g, ''); let imgSrc = ''; let imgDom = this.iframeDoc.querySelector('img'); if (imgDom) { imgSrc = imgDom.src; } if (allText) { this.fetchAnswer(allText.substring(0,2000), 1); } else if (imgSrc) { this.imgHandle(imgSrc).then(res => { this.imgOcr(res).then(val => { this.fetchAnswer(val, 2); }) }) } else { alert('请输入文字,或者复制截图进来'); return; } }, clear() { this.iframeDoc.getElementById('ebRealTextInput').innerHTML = ''; }, fetchAnswer(question, type) { if (!question) { alert('请输入文字,或者复制截图进来'); return; } if (question.length < 5) { alert(`至少输入5个字,当前值: ${question}`); return; } this.showLoading = true; let prodHost = baseEbAddress + '/search/qs?key=' + (validateKey ? String(validateKey).trim() : ''); ebProxyHttp('POST', prodHost, { headers: { "Content-Type": "application/json" }, data: JSON.stringify({ keyWord: question, href: location.href || '', host: location.host || '', type: type || '' }) }).then(response => { let responseData = JSON.parse(response.responseText); let code = responseData.code; let msg = responseData.msg; if (code == 1) { let dataList = responseData.data.data; this.remainCount = responseData.data.remainCount; this.dataList = dataList; this.showLoading = false; $('#adkfuasdgku').scrollTop(0); if (!dataList.length) { alert('未搜到到相关结果'); } } else { this.showLoading = false; alert(msg) } }).catch(_ => { this.showLoading = false; alert('出错了,请反馈'); }) }, imgHandle(base64) { return new Promise((resolve, reject) => { const canvas = document.createElement("canvas"); const context = canvas.getContext("2d"); const image = new Image(); image.setAttribute("crossOrigin", "Anonymous"); image.src = base64; image.onload = function() { canvas.width = image.width; canvas.height = image.height; context.fillStyle = "#fff"; context.fillRect(0, 0, canvas.width, canvas.height); context.drawImage(image, 0, 0); canvas.toBlob(blob => { resolve(blob); }); }; }); }, imgOcr(blob) { return new Promise((resolve, reject) => { var fd = new FormData(); fd.append("image", blob, "1.png"); GM_xmlhttpRequest({ url: "https://appwk.baidu.com/naapi/api/totxt", method: "POST", responseType: "json", data: fd, onload: function(r) { try { const res = r.response.words_result.map(item => { return item.words; }).join(""); resolve(res); } catch (err) { resolve(""); } } }); }); } } }); // 配置 Vue.component('eb-config-set', { template: `
校验码获取方式:
方式一:通过爱发电获取校验码
获取校验码
设置:
主题色:
亮色
暗色
`, mounted() { let url = `${baseEbAddress}/otherInfo?author=${ebScriptInfo.author}&version=${ebScriptInfo.version}`; ebProxyHttp('GET', url).then(res => { let responseData = JSON.parse(res.responseText); if (responseData.code == 1) { this.otherHtml = responseData.data.text; } }).catch(_err => {}) ebGetValue('ebTheme').then(res => { let type = JSON.parse(res).key || 1; this.ebTheme = type; }).catch(_ => { this.ebTheme = 1; }); }, data: function() { return { topDis: '', rightDis: '', otherHtml: '', ebTheme: 1 } }, methods: { changeTheme(type) { this.ebTheme = type; ebSwitchTheme(type) }, getCode() { ebProxyHttp('GET', baseEbAddress + '/baseInfo').then(res => { let responseData = JSON.parse(res.responseText); if (responseData.code == 1) { window.open(responseData.data.url, '_blank') } else if (responseData.code == -1) { alert(responseData.msg || '该渠道暂时关闭') } else { alert('获取校验码出错') } }).catch(_err => {}); } } }); // loading Vue.component('eb-loading', { template: `
`, data: function() { }, methods: { } }); let httpClient = GM.xmlHttpRequest ? GM.xmlHttpRequest : (GM_xmlhttpRequest || null); const styleText = GM_getResourceText("snow"); GM_addStyle(styleText); GM_addStyle(` #ebsooWrap0104 { padding-top: 32px;display: none;flex-direction: column; position: fixed;top: 100px;right: 100px;width: 400px;height: 600px;background-color: #fff;z-index:9999;border: solid #FF6C31 1px;overflow: hidden; transform: translate(0, 0); } #ebsooWrap0104 div { margin: unset; } #ebsooWrap0104 #ebMyHeader { position: absolute;left: 0;top: 0;right: 0;height: 72px;padding: 4px 8px;text-align: left;background: linear-gradient(270deg, #FF9800 0%, #FF6C31 100%); cursor: move;font-weight: bold; color: #fff; border-radius: 0px;user-select: none;font-size: 20px; } #ebsooWrap0104 #ebMyHeader .eb-close-icon { position: absolute; right: 8px; top: 3px; cursor: pointer; } #ebsooWrap0104 .eb-view-content { position: relative; height: calc(100% - 40px); background-color: #fff; } #ebsooWrap0104 .eb-content-search-container { height: 100%;display: flex;flex-direction: column; padding: 0 12px; } #ebsooWrap0104 .eb-editor-container { flex-shrink: 0; } #ebsooWrap0104 .eb-editor-footer { position: relative; display: flex; align-items: center; height: 28px;line-height: 28px;box-sizing: border-box;text-align: center; } #ebsooWrap0104 .eb-editor-footer .eb-btn { width: 60px; height: 28px; line-height: 28px;text-align: center; border-radius: 16px; cursor: pointer; font-size: 14px; letter-spacing: 1px; font-weight: 500; } #ebsooWrap0104 .eb-editor-footer .eb-btn.primary { margin-right: 8px; background: linear-gradient( 270deg, #FF9800 0%, #FF6C31 100%); color: #fff; } #ebsooWrap0104 .eb-editor-footer .eb-btn.bordered { border: 1px solid #BBBBBB; color: #282828; line-height: 26px; } #ebsooWrap0104 .eb-editor-footer .eb-remain-count { position: absolute; right: 10px; font-weight: bold; } #ebsooWrap0104 .eb-answers { flex: 1;text-align: left;overflow-y: scroll; margin-top: 12px; } #ebsooWrap0104 .eb-answers .fk-answer-item { padding: 10px 12px; border: dashed #BBB 1px; margin-bottom: 6px; border-radius: 8px; } #ebsooWrap0104 .eb-answers .fk-answer-item .eb-question, #ebsooWrap0104 .eb-options-wrap, #ebsooWrap0104 .eb-answer-wrap { font-size: 13px; line-height: 17px; } #ebsooWrap0104 .fk-answer { padding: 0 8px; width: fit-content; min-height: 24px; line-height: 24px; background: rgba(0,160,64,0.08); border-radius: 4px; margin-bottom: 4px; color: #00A040; } #ebsooWrap0104 .fk-wrong-res { width: 100%; height: 40px; line-height: 40px; background: #F5F7FB;border-radius: 8px;font-size: 14px;color: #999999; text-align: center; display: flex; align-items: center; justify-content: center; } #ebsooWrap0104 .fk-wrong-res svg { margin-right: 5px; } #ebsooWrap0104 .fk-analysis { padding: 4px; } #ebsooWrap0104 .eb-answers em { color: #FF5700;font-style: normal;margin: 0 1px; } #ebsooWrap0104 .eb-label { font-size: 14px;margin-top: 8px; margin-bottom: 4px;width: fit-content;color:#999; } #ebsooWrap0104 .eb-no-answers { padding-top: 60px; display: flex; flex-direction: column; align-items: center;font-size: 12px;color: #999999; } #ebsooWrap0104 .eb-no-answers img { width: 100px; height: 100px; margin-bottom: 12px; } #ebsooWrap0104 .eb-tab-container { position: relative; height: 40px; background: linear-gradient( 180deg, #E3E3EE 0%, #FFFFFF 100%); display: flex; justify-content: space-between; z-index: 2; border-top-left-radius: 12px;border-top-right-radius: 12px; } #ebsooWrap0104 .eb-tab-container .eb-tab { position: relative; box-sizing: border-box; width: 200px; position: relative;top: 1px;height: 40px;line-height: 40px;text-align: center;cursor: pointer; z-index: 10000;font-size: 16px; color: #2D2D2D; } #ebsooWrap0104 .eb-tab-container .eb-tab.active { font-weight: 600; } #ebsooWrap0104 .eb-tab-container .eb-tab-bg { position: absolute; left: 0; top: 0; width: 210px; height: 40px;background-image: url('https://cdnjson.com/images/2024/04/18/tab-selectd1ff93d117888cae.png');background-size: 210px auto; z-index: 9999; } #ebsooWrap0104 .eb-tab-container .eb-tab-bg.config { left: 190px; transform: rotateY(180deg); } #ebsooWrap0104 .eb-key-context { height: 52px; padding: 8px 0;display: flex; align-items: center;justify-content: space-between;border-bottom: 1px dashed #E5E5E5;margin-bottom: 12px; } #ebsooWrap0104 .eb-key-context .eb-key-input { box-sizing: border-box; width: 240px;height: 32px; padding: 6px 12px; background: #F5F7FB;border-radius: 8px 8px 8px 8px;border: 1px solid #FF5700;font-size: 12px; color: #282828; } #ebsooWrap0104 .eb-key-context .eb-key-input::placeholder { color: #ccc; } #ebsooWrap0104 .eb-key-context .eb-key-input:focus { outline: none; } #ebsooWrap0104 .eb-key-context .eb-key-pur { font-weight: 500;font-size: 14px;color: #FF5700; cursor: pointer; } #ebsooWrap0104 .eb-config-set { padding: 0px 16px; text-align: left; user-select: none; } #ebsooWrap0104 .eb-config-set .eb-config-name { font-size: 16px;color: #333;font-weight: bold;margin-bottom: 12px; } #ebsooWrap0104 .eb-config-set .eb-form-line { display: flex; align-items: center; } #ebsooWrap0104 .eb-config-set .eb-form-line .eb-form-label { width: 80px; } #ebsooWrap0104 .eb-config-set .eb-form-line .eb-form-value { flex: 1; } #ebsooWrap0104 .eb-form-value .eb-color-block { box-sizing: border-box; display: inline-block; width: 60px;height: 28px;line-height: 28px;text-align: center;border-radius: 16px;cursor: pointer;font-size: 14px;letter-spacing: 1px;font-weight: 500; } #ebsooWrap0104 .eb-form-value .eb-color-block.eb-colorful { background: linear-gradient(270deg, #FF9800 0%, #FF6C31 100%);color: #fff; margin-right: 8px; } #ebsooWrap0104 .eb-form-value .eb-color-block.eb-btn-grey { border: 1px solid #BBBBBB;color: #282828; } #ebsooWrap0104 .eb-config-set .eb-config-key-btn { margin:0 4px; width: 64px; height: 30px; line-height: 28px;text-align: center; border-radius: 6px; cursor: pointer; font-size: 14px; letter-spacing: 2px; color: #212529; border: 1px solid #212529; } #ebsooWrap0104 .eb-config-set .eb-way-to-get { padding-left: 18px; } #ebsooWrap0104 .eb-config-set .eb-way-to-get .eb-way-item { margin-bottom: 12px; } #ebsooWrap0104 .eb-config-set .eb-way-to-get .eb-way-label { margin-bottom: 12px; } #ebsooWrap0104 .eb-config-set .eb-get-key { height: 36px;line-height: 36px;text-align: center;width: 130px;background: linear-gradient(270deg, #FF9800 0%, #FF6C31 100%);color: #fff;border-radius: 12px;font-size: 14px;letter-spacing: 2px; cursor: pointer;animation: ebBtnAni 2s infinite; } @keyframes ebBtnAni { 0% { scale: 1 } 50% { scale: 0.9 } 100% { scale: 1 } } #ebsooWrap0104 .eb-config-set .eb-config-key-btn.edit { background-color: #198754; color: #fff; border: 1px solid #198754; } #ebsooWrap0104 .eb-loading-wrap { position: absolute;left: 0;top: 0;right: 0;bottom: 0;background-color: rgba(0,0,0,0.05);text-align: center; } .eb-loading-wrap .eb-loading-icon { margin-top: 50%; display: inline; width: 50px; } .eb-trigger-btn { position: fixed; right: 0;bottom:50%; width: 40px; height: 56px; line-height: 56px; background: linear-gradient(270deg, #FF9800 0%, #FF6C31 100%); color: #fff; cursor: pointer;border-top-left-radius:8px; border-bottom-left-radius: 10px; text-align: center; font-size: 20px; user-select: none;z-index: 99999; } .eb-trigger-btn.eb-grey { background: linear-gradient(270deg, #afafaf 0%, #afafaf 100%) } #ebsooWrap0104.eb-grey { border: solid #afafaf 1px; } #ebsooWrap0104.eb-grey #ebMyHeader, #ebsooWrap0104.eb-grey .eb-btn.primary, #ebsooWrap0104.eb-grey .eb-get-key { background: linear-gradient(270deg, #afafaf 0%, #afafaf 100%); } #ebsooWrap0104.eb-grey #ebConfigKeyInput { border-color: #afafaf; } #ebsooWrap0104.eb-grey .eb-key-pur { color: #afafaf; } #ebsooWrap0104.eb-grey .eb-no-answers img { filter: contrast(0.3); } #ebsooWrap0104.eb-grey .eb-config-set { filter: grayscale(1); } #ebsooWrap0104.eb-grey .eb-form-value .eb-color-block.eb-colorful { border: 1px solid rgb(187, 187, 187);color: rgb(40, 40, 40); background: none; } #ebsooWrap0104.eb-grey .eb-form-value .eb-color-block.eb-btn-grey { background-color: #BBBBBB; color: #fff; } `); var $wrap = $(`
`); $('body').prepend($wrap); var ebVmdf = new Vue({ el: '#ebsooWrap0104', data: { currentTabIdx: 0, remainCount: 0 }, mounted() { ebGetValue('ebTop').then(res => { let topDis = JSON.parse(res).key || 100; $('#ebsooWrap0104').css('top', topDis + 'px'); }).catch(_ => { $('#ebsooWrap0104').css('top', '100px'); }) ebGetValue('ebRight').then(res => { let rightDis = JSON.parse(res).key || 100; $('#ebsooWrap0104').css('right', rightDis + 'px'); }).catch(_ => { $('#ebsooWrap0104').css('right', '100px'); }); }, methods: { handleSwitchTab(idx) { this.currentTabIdx = idx; }, handlePatchRemainCount(remainCount) { this.remainCount = Number(remainCount); } } }); ebGetValue('ebTheme').then(res => { let type = JSON.parse(res) || 1; ebSwitchTheme(type) }).catch(_ => { ebSwitchTheme(1) }); function ebProxyHttp (method, url, config) { let options = { timeout: 30000, } if (config) { Object.assign(options, config); } return new Promise((resolve, reject) => { httpClient(Object.assign({ method: method, url: url.indexOf('http') > -1 ? url : baseUrl + url, onload: function(response) { resolve(response); }, onerror: function (err) { reject(err); }, ontimeout: function () { reject(); } }, options)); }) }; function ebSetValue (key, val) { if (GM_setValue) { return new Promise(resolve => { resolve(GM_setValue(key, JSON.stringify(val))); }); } else if (GM.getValue) { return GM.setValue(key, JSON.stringify(val)); } } function ebGetValue (key) { if (GM_getValue) { return new Promise(resolve => { resolve(GM_getValue(key, "{}")) }) } else if (GM.getValue) { return GM.getValue(key); } } $('#ebTriggerBtn').on('click', _ => { ebToggleOpenClose(); }) function ebToggleOpenClose() { if (show) { show = false; $('#ebsooWrap0104').hide(); $('#ebTriggerBtn').css('background-color', '#198754'); $('#ebTriggerBtn').html('开'); } else { show = true; $('#ebsooWrap0104').css('display', 'flex'); $('#ebTriggerBtn').css('background-color', '#ccc'); $('#ebTriggerBtn').html('关'); } } function ebThrottle(func, delay) { var lastTime; return function() { var now = Date.now(); if (!lastTime || now - lastTime >= delay) { func.apply(this, arguments); lastTime = now; } } } var ebEnterThrottle = ebThrottle(function() { ebVmdf.$refs.ebContentSearchRef.submit(); }, 1000); function ebSwitchTheme(type) { if (type == 1) { $('#ebsooWrap0104').removeClass('eb-grey'); $('#ebTriggerBtn').removeClass('eb-grey'); } if (type == 2) { $('#ebsooWrap0104').addClass('eb-grey'); $('#ebTriggerBtn').addClass('eb-grey'); } ebSetValue('ebTheme', type).catch(err => { console.log('err', err) }) } function getEbInfo() { ebScriptInfo.version = GM_info.script.version || 'unknown'; ebScriptInfo.author = GM_info.script.author || 'unknown'; } getEbInfo(); })