划词工具(自用,永不更新,不推荐使用) was reported 2021-07-20 as an unauthorized copy of 彩云小译脚本.

彩云小译脚本 does not specify a license, which means distributing copies is not allowed unless explicit permission is given.

Script License Created Updated
Reported 划词工具(自用,永不更新,不推荐使用) N/A 2020-10-03 09:32:59 UTC 2021-05-17 01:29:40 UTC
Original 彩云小译脚本 N/A 2021-02-05 17:14:33 UTC 2021-02-05 17:42:20 UTC
  • // ==UserScript==
  • -// @name 彩云小译脚本
  • -// @namespace http://tampermonkey.net/
  • -// @version 0.2
  • -// @description 彩云小译双语对照翻译!
  • -// @author lonelykid
  • -// @include https://*
  • +// @name 划词工具(自用,永不更新,不推荐使用)
  • +// @name:zh 划词工具(自用)
  • +// @version 2.8版【自用,永不更新】
  • +// @description 划词,弹图标,含百度、必应、Google等搜索引擎,复制、粘贴、新标签页打开链接,翻译、设置点击整页翻译。
  • +// @include *
  • // @include http://*
  • -// @exclude *://*.google*/*
  • -// @exclude *://*.github*/*
  • -// @exclude *://*gov.cn/*
  • -// @exclude *://*edu.cn/*
  • -// @exclude *://*.cn/*
  • -// @exclude *://*.baidu.com/*
  • -// @exclude *://*.qq.com/*
  • -// @exclude *://*.bilibili.com/*
  • -// @exclude *://*.jianshu.com/*
  • -// @exclude *://*sspai.com/*
  • -// @exclude *://*cnki.net/*
  • -// @exclude *://*.160.com/*
  • -// @exclude *://*.huaweicloud.com/*
  • -// @exclude *://*ikeepstudying.com/*
  • -// @exclude *://*.ifdream.net/*
  • -// @exclude *://*.topthink.com/*
  • -// @exclude /(^[^:\/#\?]*:\/\/([^#\?\/]*\.)?github\.com(:[0-9]{1,5})?\/.*$)/
  • -// @exclude *://*.wordpress.org/zh*
  • -// @exclude https://developer.wordpress.org/reference/*
  • -// @exclude *://*.oceanengine.com/*
  • -// @exclude *://*.lusongsong.com/*
  • -// @exclude *://*.cambridge.org/*
  • +// @include https://*
  • +// @run-at document-end
  • +// @run-at document-start
  • +// @grant GM_setValue
  • +// @grant GM_getValue
  • +// @grant GM_setClipboard
  • +// @grant GM_info
  • +// @grant GM_openInTab
  • +// @grant GM_xmlhttpRequest
  • // @grant GM_registerMenuCommand
  • +// @icon data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAEAAQADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iiigAooooAKKKKACiiigAorPu9Xt7XcoYSMpw2DhV+p9fYZNZtxrN9cziGwt2QdSzLk49SOgH1rirY+hS0vd9lqzaFCctdl5nRUVzIOt3LRBAwQHKs/Gf8Aab19h+lC6Lqcu6WS6xIWyN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Z7wGsRVXUw5PDiyEf6UyjOWwnJ/HP68mov+EXAXidSewKcDj6+v+TXQ0Vm8rwjd3D8X/mUsVVXU5seF33FnuFdu2V4H+f8AOac/h2dQPJli345ds8H0A/Ln8sV0VFT/AGThVtH8WP63V7nKr4XuC5aSZGzk8E5P6d/85p//AAjc/TdEEz91Sefcnqfp/KunoqVk+FXT8R/XKvc5n/hHrgKOIi2OhPA9un+fQ1FJ4evmkwnlYJ5dm/p/n8K6uih5Phnpr94LGVEcsPDtxGPkClufmLcn/DP+SOlB8P3XHyxk+pbgf5/yO9dTRS/sfDeYfXKpyLeHb18syoT/AL/P+f8APNEfhq8bmQRqM42hv1JrrqKn+xMLe+v3lfXapyv/AAjl0QP9WABnGffp/n9ab/wjN4R96Ie244H+NdZRTeS4V9/vF9dqnKr4XuAuTJEX9ycD9OacPC0xYl7iM9emfwrqKKaybCL7P4i+uVu5zieFcyDzLkeWOqouCasjw8gRV87bgH7qcA9sc/r19xW1RWsMrwkdofiyXiqr6mN/wjltgDzZAP4sYBb15/z+NTR6DYx4+Vjznr29Pp/PvWnRWscBhou6giXXqv7RRXR7JUC+TkdTk/e+v+HSrENpbwKoihRdvQ45H41NRW0aFKGsYpfIh1JPdhRRRWpB/9k=
  • +// @connect dict.youdao.com
  • +// @connect translate.google.cn
  • // @require https://cdn.jsdelivr.net/npm/jquery@1/dist/jquery.min.js
  • -// @note 2021-02-05-v0.2 快捷键启用
  • -// @note 2021-02-05-v0.1 初次发布
  • +// @namespace https://greasyfork.org/users/316251
  • // ==/UserScript==
  • +//一、划词工具
  • +(function () {
  • + 'use strict';
  • + var keyword = {
  • + beforePopup: function (popup) {
  • + var text = window.getSelection().toString().trim();
  • + GM_setValue('search', text);
  • + popup(text);
  • + },
  • + beforeCustom: function (custom) {
  • + var text = GM_getValue('search');
  • + GM_setValue('search', '');
  • + custom(text);
  • + },
  • +
  • + };
  • +
  • + var iconArray = [
  • +
  • + {
  • + name: '新标签页打开链接',
  • + image:'data:image/png;base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yvaToi0QqM1ZznDvKKo/uahi/CxwHfiIekwkgEBtowdRVewFcAGZLxW28a2VxOcUW60IxJ6UOCQZC/zeJ+DTVvsDv79KOHXtY3HVROmBSq+EY9c+FlWNwBFKYeZQZxMiitPHpK1fCgbi9TFJG/ZyEFXUPiZhs6iZEYfRZdvH4tqU57sXwzvzH793nMavATtJAAAAAElFTkSuQmCC',
  • +// image: 'https://14717569.s21i.faiusr.com/4/ABUIABAEGAAgotro-AUo1f7kiwMwNDg0.png',
  • + host: [''],
  • + popup: function (text) {
  • + if(text.indexOf("http://")==0||text.indexOf("https://")==0)
  • +
  • + {
  • + try {
  • +
  • + if(GM_openInTab(text, { loadInBackground: true, insert: true, setParent :true })){
  • + fadeOut(icon);
  • + console.log("doSomethingOk");
  • + } else{
  • + console.log("doSomethingNotOk");
  • + }
  • +
  • + } catch (error) {
  • + return GM_openInTab(text, { loadInBackground: true, insert: true, setParent :true });
  • + }
  • + }
  • +
  • + else
  • + {
  • + try {
  • +
  • + if(GM_openInTab("http://"+text, { loadInBackground: true, insert: true, setParent :true })){
  • +
  • + fadeOut(icon);
  • + console.log("doSomethingOk");
  • + } else{
  • + console.log("doSomethingNotOk");
  • + }
  • +
  • + } catch (error) {
  • + return GM_openInTab("http://"+text, { loadInBackground: true, insert: true, setParent :true });
  • + }
  • + }
  • + }
  • + },
  • + {
  • + name: '谷歌搜索',
  • + image:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAAMSUlEQVR4nO2deXRU9RXHv7/35s3LZA8JCQlBEgyJSNjDEnEhthWRIlpOW9sjPR6tpwURSeOG2NM5FhGRgoIRFE5R1NOC5YCsokjYFKMBZCchhHCSkH2bZDLLW379A+mBInlv5r03LxPn81fOzO937517f/sWIESIECFChAgRIkSIED81iNkGdAd9wToMkvggnGQcXDQTHpqILkSgi1oAMHCDgAXAgcJKJHCQYEMnIshlhJFy2GgJePlfZCEumv1bbk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CFnrhYAbbMTbgz+fq9qFjOIeclfDNFD+cDOr+cu+GzoXk7vQM+b5aUj2UHC4QS9Kkfji8qf4V4rk2a3O/gjKVzXv5UN/l6CbrKmt2jx3zrSThUK4X3muYIADIcSQ6+M3nq60/ZD+kp15Ax/Md7Mgd95+p/rFyM0W2qbybDLK3N463Vox6afKFKb9mGHZhatjHX5ohgDpR4+wbtmSACYCJfW/JbW/1d6XmVhrzuYviJtTd35Cz5Rkx8tlO2BtXpuDjGQydxNa898cCJBUbqCYhT/r1r6NgjYsK2s2Kc/s9cGsBwrqV6Iml4YOrUcyeN1hXQUlm4c9QrR4TEFxtkW3evCplGMuMURlqaFz019ag9UDoD3ixsLkqLveBKXHdMSJjWLltZ5RzGE0e80liuftM9lurHR0yuVzxSriemtcvrNo+MbeL5VaVCzIw6OdyUGpHKOL3ZfPPHibxn7m/yTv80/pHbDVCQZTvH/ale5udVSDGZLmox1KZIRqC3s63lyYzz3T9OOb7M7GcUzA/ANazbPDLWaSP5TWL49Go5IqtOh8kcA4r+FmdXP7brXCJcW1KErjenTy/t0MNePehRAfh/PtgzItPlxcNtsm18B7gsL2WS2mQ+ohMWTqaE6aIcYYkMHhINJ5LEEUmMZrydMVS8bGOF0nAIR5KJa8PDU85Vmv1bQoQIESJEiBAhQoQIEeIq/wW0HUssgNq5wgAAAABJRU5ErkJggg==',
  • +// image:'https://14717569.s21i.faiusr.com/4/ABUIABAEGAAgoNro-AUo_JLypgYwYDhg.png',
  • + host: ['www.google.co.jp'],
  • + popup: function (text) {
  • + open('https://www.google.co.jp/search?q=' + encodeURIComponent(text));
  • + }
  • + },
  • + {
  • + name: '必应搜索',
  • + image:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABgFBMVEX///8NhIQNgoIWiYn8/v4RhYUcjIwUh4cOhIQhjo4pkpLt9vb7/f3z+fkwlpZYqqrV6urq9fWr1dUlkJCYy8uEwcHi8PA1mJjd7u49nJx7vLz5/PxAnp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PlIAO+2xApAEMmweo3icUgKx5AChxG/0DRikBJx0Au78+ZwuAP54yBkArFiWkP8CYUYCeECxKTAEAkaVZZbV3wCklYBO+nLb4Mt8zgHIpVjahW3w2lyHEyhlQRuCGWrEah4QhAGC3VHxoHWAIeqhcSKsyNeCJcQCAtj/PElDNTolWzUALbsz78fEG9UJkHKC16vdktA4wB13b2cxJhFBuRsYBzpNYEy9iA2gcBEVEqwED8IWSkdJDJMwA8cmAiqSvQykloOMm5vAWXKjLKsBph+Gdr54SZAbg48M1pDgVr9HdGypj+vHHikgI7auZccDcCwmp4kbNAIy4ORmpkjNOSsB/4J6X758hXfJ+CigB2SvAQW5LQMoya0kwCAhVFAkpE0uaA4wBqjE/9fBnU54kgCGAtpznkC6CiewOgAHAu2O+5GoibUrA6wBDAKmWeI8EqSLPcrrZpwDgPNL2/Pdjjfp3PuOR8/EJAHYAKeaJAzuA7B4r0//UarxwIQTADEC2pk94uIjNIyArlxcEbGZgmyQWJwFYAQj5KbgJwApAUKofx4EdYHvwlQbADCC7ZhYA2AHE3AAAOwCZ9TWAvkEBjRVdSoGRghtoIKLmhsBYIfc9pI57tAaG8wbzlAsPSSx5wYyG91YJxfjnlRMwqVDsQ7/Do/joBzCxv4rYV+u1bxpgapG60s+JrxIB0ytEsbdWFfddsCJPWsSbI1xi3AHWxC+5br7/OKxMgHW19prYNcU9B5aWXPZ3AXAPCmB5owkOOyeoMQ1sSMsp2ClxfwRsyhcWCOriMj6wr1C62S4QlOkG2Jlj/E/hGjDfTHvA7k7uS9dfKYaBQc7g5VdJwV9KAptOM4Isc1O7wCxvRR20Ytv5F1aNwb4yuFDOAAAAAElFTkSuQmCC',
  • +// image:'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB12cKGd.img',
  • + host: ['cn.bing.com'],
  • + popup: function (text) {
  • + open('https://cn.bing.com/search?q=' + encodeURIComponent(text));
  • + }
  • + },
  • + {
  • + name: '百度搜索',
  • + image:'data:image/png;base64,iVBORw0KGgoAAAAN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s139bofmsi4janQsn1Gw1pqSYKxWWgMIo7xsiRqMaJuP4/m5qeyquTBawK1rpzXzFuHxmbdAM+dp0//LHrErfPaZafU2tvgDqL1P8LWAARgqtXmS8c7fe7H3s5vKl/jFzlTFbEZbIggjOjrsKNdYvg/NbzXH+TSQi+B5EVCmWlWFIGSu6z4GLCGLdfqYBvtPobrdAq5QAyKeGiRd7AB6/w/72jSZ4HbL0Voc4ipbrG0YgjdqTfkk3Lhc/siu7+z+fDa08NIFatOxFxkiMCRhARI77nqtuOJqG1QaS5QchnXWovBDA2qYxMKH3D7ldIhbIaZyeHilCVzTW0SjYpum6ld+YPr/MfWrHAfMEII5Xx9fgfIDq/kmc4OuAAAAAASUVORK5CYII=',
  • +// image:'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB12cBeO.img',
  • + host: ['www.baidu.com'],
  • + popup: function (text) {
  • + open('https://www.baidu.com/s?wd=' + encodeURIComponent(text));
  • + }
  • + },
  • +
  • + {
  • + name: '复制',
  • + image:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABmJLR0QA/wD/AP+gvaeTAAACNklEQVR4nO3csU7bUBjF8XMtxk4sDEygdGk3FhzBWKkZW4lHYGDrgpTyBkRiYWPgEZDoGCTWyuEBYCFSJqRm6dLMXIb0GkSCAB9jfxef/4iEY/10Qm4iAFCqzlzVD/h1P/NVP+a8nMOg32232eskZdxMjHmPtNPLMvY6tS3waGe96ocGAOwcXQAAEudw6z2cx+/+Xnuz6PUau8BO2kLiHLzDBrPExgJ+XF68RySezo0FBMpBbDQgwCM2HhDgEAX4v6KIAnxQEcT8HGjlHcLK0gd0v39+s+uHc+CPrafPodc3f9EfDKfnxGfesZhb4Gg8Qe/0stZ7eM0SFx5/od9N3/bunqjTGwAAksRhNJ7g4NcVdr99quVegCki0lZYYtrpZdm8JZpb4PaXFpLEYfjnXxRLNAe4trqYI8bwdDYHCMSFOPMz0EoB8fh8mCOW+ep8eHJR+Hu9R/5CYXKBIWtLnJfZBYbKXiL7OWQ4R4ZMLzBkeYlRAAJ2EaMBBGwiRgUI2EOMDhCwhRglIGAHMVpAwAaiuXPg43PWaxqNJyXeycuKeoEWMrNA9nPI8Hli1WmBZAIkEyCZAMkESCZAMgGSCZBMgGQCJBMgmQDJBEgmQDIBkgmQTIBkAiQTIJkAyQRIJkAyAZIJkEyAZAIkEyCZAMkESCZAMgGSCZBMgGQCJBMgmZnfkS4r5rf8i6QFkr27BZ79bFf6PxG1QDIBkgmQTIBkAiQTIJkAyWbOgXX91WOsaYFKRd0dWQbiQm7O5X4AAAAASUVORK5CYII=',
  • +// image:'https://14717569.s21i.faiusr.com/4/ABUIABAEGAAgn9ro-AUoup7zgAIwUDhQ.png',
  • + host: [''],
  • + popup: function (selText) {
  • + if (selText == null) {
  • + selText = document.defaultView.getSelection().toString();
  • + }
  • +
  • + try {
  • + //这里拷贝到剪切板 图标栏消失
  • + if(document.execCommand('copy', false, null)){
  • + fadeOut(icon);
  • + console.log("doSomethingOk");
  • + } else{
  • + console.log("doSomethingNotOk");
  • + }
  • + return GM_setClipboard(selText, "text");
  • + } catch (error) {
  • + return document.execCommand('copy', false, null);
  • + }
  • + }
  • + },
  • + {
  • + name: '粘贴',
  • + image:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAAGR0lEQVR4nO2dS4gcRRjH/1U1s8mazCaZTYRkdwUfeFA0RkyM4IO9xEciCQQ8JHoWxMdBlBUvQ87GoAdBkehBPSQoyYJ5IEuIoEKCoGIIGwNiXpKIWbMJ27PTj89Dz870zPRsT3dXtrrS9SNDd3qra776qur7V3VNzQAGg8FgyCtMtQFxqRw7Vrjj8rWXONgrYOx+BoAx9jtAH42sKn0xOjrqqLYxDlpVwKf7jpT7qHYEjK0HGBgDWo90AovomZ1btkyptbR3uGoDeqVSqfBFzDnEuFjPOQcXHJyLtmNhA3f6DlUqFW3KpY2h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OQ3IG5nTgLxhNEAxRgMUI+9RhNGBREh7GGfcnwyjAYoxGqAYuRVgdCA2RgMUYzRAMZlcEYvDj19+jamLfy/oe5aHV+OxHdul5KW9Biy08wHg6gV57ylFA0wYSk7mliTjUh5ereA910jLS3sNkBWLVWEmYoqR89FEMwFLTHoNMM5PhfYasBDzAJnj/nak75RfaBZiHiBz3N+OnEcRJgwlRuqivAoWYh4gc9zfjvYaYOYBAUwgik9mdsrnlUzukMkT2muA7usB2u+Uz/16QN52ystGzjxg7qUAsx6gGN3nAdprgO4YDVCMmQcoRnsN0H09QPtvS9F9PUD7j6XojpynoQrnAmY9QLEIm3kATBhKg9EAxZid8oqRvlN+ZmYmdZZ5QkoICn5b1pkzk6hWq2mzzQ3SZ8Ku6+HUqVOJ77csC5ZlARvvkmhVdpG+U75UKkUknB8hBIQQMizSAqnzAALAqtMQS8vJDSoUUCho/4iqZ6RrwNVje+HeuJo229wgo6ldR+C3xKy/fsXFz99I9j1CRKjaHizHA947LcG07CPhWRCbaJzWnwdRfeNeT98lOpc+cE+eSF0BnktjIJqK5cA2p+eZ1BWwde9vk65LaxnDfjBMhyYK9gzj9Bay9JtmLWy7RNNo+51KDbl2YA1bPl+CLO+SnIhOknEIR6OSZLYCPMIYgCnVdqTgX054MypRZitgfIhNEmEtgP1AF23JJtMg7OMeHvpmmF1QbYzBYDAYssv/84s5vsGcbU4AAAAASUVORK5CYII=',
  • +// image: 'https://14717569.s21i.faiusr.com/4/ABUIABAEGAAgpNro-AUoz5G3pwIwYDhg.png',
  • + host: [''],
  • + popup: function () {
  • +
  • + try {
  • + if(window.navigator.clipboard.readText()
  • + .then(text => {
  • + console.log('Pasted content: ', text);
  • +
  • + document.execCommand("insertText", "false", text);
  • + })
  • + .catch(err => {
  • + console.error('Failed to read clipboard contents: ', err);
  • + })){
  • +
  • + fadeOut(icon);
  • + console.log("doSomethingOk");
  • + } else{
  • +
  • + console.log("doSomethingNotOk");
  • + }
  • + } catch (error) {
  • + return document.execCommand("insertText", "false", text);
  • + }
  • + }
  • + },
  • + {
  • + name: '百度翻译',
  • + image:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABK5SURBVHhe7V0JVFTn2b5Je07/pG3y//3bv2mTVEnVmrSJSdOk5zS1WZo0zfYbDYKKSzSaWGPdYuqvAbcYjbhFYVAUFTfEFdlUEJBNlG1AEWEAY8AKxp3ZGNb3f5/LHb1MLjJz5yKi857zHIbh3uH7nuf93uX75swIHvOYxzzmMY957DY1f3//e/Ly8u47Xlb2cE5JSR99WdnjBcXlT3RHYOyYw/Gysw8XFtbcT0T3SNPU1Ejo/72rwsgHc4Vx35eeUm9M/gNF5eUv6g1lQfkl5Rn60vIT+pLy4m4JjN1QnlFQUqHLKyn/24nKyv+UpqmZkTDwXqsw+FGT4DPMLAx8SHpancFL9IaKN5j4xILS8mp9aYWNJ9JcUFpB3REYuzSHGkZSgcHwZmFNzf3SdN02EvzvsQq+jzD50yyCb5xZ8HlK+pM6O2kw9GNvWceDru3OxDtCmkst5lZYVva0NF23DeQz8ZNYAL1F8Cm3CN7PSX9SZ4WGioFMfgkPtlE+gTsEmBPPrdxbmq5b1ur5vh+z1+cw6hlVbguQX1I2mgd5R3m/HZgTO5exwFA+VpquamOif2kRhnxkFnyzmPgGXgWkiQAYHC/TOqUJ3AkQ80Fp2Xhpui4bYr5ZGPxzDjcfMuFH4Pkg3yOAk3BHAJBvEgb+rE4YMraVfF+bnXyPAE5CrQAg3ygM/W8mfzQTncnkW+TkewRwEmoFuCQM+7FJGOLHRKdy+DE5kg94BHACagW4Jnj/FyfdKUx0BaNZTrwdHgGcgFoBqoT3/oPLzj9zvb+BV0DNHSHAkYKTFBGfRJujD7YiJoGSjuYpXqsV3EvCI3/AArzEZG9mnJeTD3Q7AeLSjtLYgEU0dNpsEX7T59L6PXGK12oFdwSAnW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IPfFXPkNp0/nmc80JR94S5kD0/DXN5LNj0yq8WafC16bnCM9/Ht0KkdNK5MOyh0HP39V5t+WXPoNreHDP79tDZuimMfb1W23o9wnN5KJTuE/xJs2jhMY95zGMe85jHNDNB+H/wcBBf9ofPmwAAAABJRU5ErkJggg==',
  • +// image: 'https://14717569.s21i.faiusr.com/4/ABUIABAEGAAgptro-AUohuvMtQEwYDhg.png',
  • + host: ['fanyi.baidu.com'],
  • + popup: function (text) {
  • + open('https://fanyi.baidu.com/?aldtype=85&keyfrom=alading#auto/zh/' + encodeURIComponent(text));
  • + }
  • + },
  • + ],
  • +
  • +
  • + hostCustomMap = {};
  • + iconArray.forEach(function (obj) {
  • + obj.host.forEach(function (host) {// 赋值DOM加载后的自定义方法Map
  • + hostCustomMap[host] = obj.custom;
  • + });
  • + });
  • + var text = GM_getValue('search');
  • + if (text && window.location.host in hostCustomMap) {
  • + keyword.beforeCustom(hostCustomMap[window.location.host]);
  • + }
  • + var icon = document.createElement('div');
  • + iconArray.forEach(function (obj) {
  • + var img = document.createElement('img');
  • + img.setAttribute('src', obj.image);
  • + img.setAttribute('alt', obj.name);
  • + img.setAttribute('title', obj.name);
  • + img.addEventListener('mouseup', function () {
  • + keyword.beforePopup(obj.popup);
  • + });
  • +
  • + img.setAttribute('style', '' +
  • + 'cursor:pointer!important;' +
  • + 'display:inline-block!important;' +
  • + 'width:24px!important;' +//图标尺寸设置
  • + 'height:24px!important;' +
  • + 'border:0!important;' +
  • + 'background-color:rgba(255,255,255,0.5)!important;' +//透明度
  • + 'padding:0!important;' +
  • + 'margin:0!important;' +
  • + 'margin-right:3px!important;' +//图标间距
  • + '');
  • + icon.appendChild(img);
  • + });
  • + icon.setAttribute('style', '' +
  • + 'display:none!important;' +
  • +// 'width:720px!important;' +//宽度换行
  • + 'position:absolute!important;' +
  • + 'padding:0!important;' +
  • + 'margin:0!important;' +
  • + 'font-size:13px!important;' +
  • + 'text-align:left!important;' +
  • + 'border:0!important;' +
  • + 'background:transparent!important;' +
  • + 'z-index:2147483647!important;' +
  • +// 'white-space:normal;'+
  • + //'overflow:hidden;'+
  • + '');
  • + // 添加到 DOM
  • + document.documentElement.appendChild(icon);
  • + // 鼠标事件:防止选中的文本消失
  • + document.addEventListener('mousedown', function (e) {
  • + if (e.target == icon || (e.target.parentNode && e.target.parentNode == icon)) {
  • + e.preventDefault();
  • + }
  • + });
  • + // 选中变化事件:
  • + document.addEventListener("selectionchange", function () {
  • + if (!window.getSelection().toString().trim()) {
  • + icon.style.display = 'none';
  • + }
  • + });
  • +
  • + // 鼠标事件
  • + var timer;
  • + document.addEventListener('mouseup', function (e) {
  • + if (e.target == icon || (e.target.parentNode && e.target.parentNode == icon)) {
  • + e.preventDefault();
  • + return;
  • + }
  • + var text = window.getSelection().toString().trim();
  • + if ((text && icon.style.display == 'none') || (((e.target.localName.toLowerCase() === 'input' || e.target.localName.toLowerCase() === 'textarea') && e.target.type.toLowerCase() !== 'submit' && e.target.type.toLowerCase() !== 'button' && e.target.type.toLowerCase() !== 'checkbox') && e.target.disabled === false) || (document.activeElement.tagName.toLowerCase() === 'en-note' && e.target.localName.toLowerCase() !== 'en-note')) {
  • + icon.style.top = e.pageY -50 + 'px';//设置距离文字上方的距离
  • + if(e.pageX -70<10)
  • + icon.style.left='10px';
  • + else
  • + icon.style.left = e.pageX -88 + 'px';//设置左右位置
  • +
  • + fadeIn(icon);
  • + clearTimeout(timer);
  • + timer = window.setTimeout(TimeOutHide, 6000);
  • + }
  • + console.log(document.activeElement.tagName)
  • + console.log(e.target.localName)
  • + console.log(e.target.type)
  • +
  • + });
  • +
  • + let mouseEvent = null;
  • + document.addEventListener('mousemove', event => {
  • + mouseEvent = event;
  • + });
  • +
  • + document.addEventListener('keydown',event => {
  • +
  • + var keynum;
  • + if(window.event) // IE
  • + {
  • + keynum = event.keyCode;
  • + }
  • + else if(event.which) // Netscape/Firefox/Opera
  • + {
  • + keynum = event.which;
  • + }
  • + console.log(event.keyCode)
  • +
  • + if(keynum==79&&event.altKey){
  • +
  • + icon.style.top = mouseEvent.pageY +40 + 'px';
  • + if(mouseEvent.pageX -70<10)
  • + icon.style.left='10px';
  • + else
  • + icon.style.left = mouseEvent.pageX -50 + 'px';
  • +
  • + console.log(mouseEvent.pageX+","+mouseEvent.pageY, mouseEvent)
  • + fadeIn(icon);
  • + clearTimeout(timer);
  • + timer = window.setTimeout(TimeOutHide, 6000);
  • +
  • + }
  • + });
  • +
  • +
  • +
  • + var TimeOutHide;
  • + var ismouseenter = false;
  • +
  • + TimeOutHide = function () {
  • + if (ismouseenter == false) {
  • + return fadeOut(icon);
  • + console.log("doSomethingOk");
  • + }
  • + };
  • + //鼠标在图标栏 清除定时器 不自动关闭
  • + icon.onmouseenter = function(e){
  • + console.log("ismouseenter");
  • +
  • + if(timer){ //定时器
  • + clearTimeout(timer);
  • + }
  • + }
  • + //鼠标移开图标栏 清除定时器 自动关闭
  • + icon.onmouseleave = function(){
  • +
  • + console.log("ismouseleave");
  • +
  • + if(timer){ //定时器
  • + clearTimeout(timer);
  • + }
  • + timer = window.setTimeout(function(){fadeOut(icon);}, 6000);
  • + };
  • +
  • + //鼠标滚动 图标栏消失
  • + document.addEventListener('scroll', function(e){
  • +
  • + fadeOut(icon);
  • + });
  • +
  • + // fade out 渐出
  • + function fadeOut(el){
  • + el.style.opacity = 1;
  • +
  • + (function fade() {
  • + if ((el.style.opacity -= .1) < 0) {
  • + el.style.display = "none";
  • + } else {
  • + requestAnimationFrame(fade);
  • + }
  • + })();
  • + }
  • +
  • + // fade in 渐入
  • + function fadeIn(el, display){
  • + el.style.opacity = 0;
  • + el.style.display = "block";
  • +
  • + (function fade() {
  • + var val = parseFloat(el.style.opacity);
  • + if (!((val += .1) > 1)) {
  • + el.style.opacity = val;
  • + requestAnimationFrame(fade);
  • + }
  • + })();
  • + }
  • +
  • +
  • + function typeInTextarea(newText, el = document.activeElement) {
  • + const start = el.selectionStart
  • + const end = el.selectionEnd
  • + const text = el.value
  • + const before = text.substring(0, start)
  • + const after = text.substring(end, text.length)
  • + el.value = (before + newText + after)
  • + el.selectionStart = el.selectionEnd = start + newText.length
  • + el.focus()
  • + }
  • +
  • +
  • + /**触发事件*/
  • + function tiggerEvent(el, type) {
  • + if ('createEvent' in document) {// modern browsers, IE9+
  • + var e = document.createEvent('HTMLEvents');
  • + e.initEvent(type, false, true);// event.initEvent(type, bubbles, cancelable);
  • + el.dispatchEvent(e);
  • + } else {// IE 8
  • + e = document.createEventObject();
  • + e.eventType = type;
  • + el.fireEvent('on' + e.eventType, e);
  • + }
  • + }
  • +
  • + /**在新标签页中打开*/
  • +/* function open(url) {
  • + // 这里
  • + icon.style.display='none';
  • + var win;
  • + win = window.open(url);
  • + if (window.focus) {
  • + win.focus();
  • + }
  • + return win;
  • + }
  • +*/
  • +
  • +
  • + //后台打开标签页
  • + function open(url) {
  • + try {
  • + if(GM_openInTab(url, { loadInBackground: true, insert: true, setParent :true })){
  • + //success info
  • + fadeOut(icon);
  • + console.log("doSomethingOk");
  • + } else{
  • + //fail info
  • + console.log("doSomethingNotOk");
  • + }
  • + } catch (error) {
  • + return GM_openInTab(url, { loadInBackground: true, insert: true, setParent :true });
  • + }
  • + }
  • +})();
  • +
  • +//二、智能划词翻译脚本
  • +
  • +'use strict';
  • +const youdaoUrl = 'http://dict.youdao.com/jsonapi?xmlVersion=5.1&dicts={"count":99,"dicts":[["ec"]]}&jsonversion=2&q=';
  • +const googleUrl = 'https://translate.google.cn/translate_a/single?client=gtx&dt=t&dt=bd&dj=1&source=input&hl=zh-CN&sl=auto&tl=';
  • +const reHZ = /^[\u4E00-\u9FA5\uFF00-\uFF20\u3000-\u301C]/;
  • +
  • +const countOfWord = s => s ? s.split(/\s+/).length : 0;
  • +const isChina = s => reHZ.test(s);
  • +// 翻译结果面板
  • +class TranslateTip {
  • + constructor() {
  • + const div = document.createElement('div');
  • + div.hidden = true;
  • + div.setAttribute('style',
  • +`position:absolute!important;
  • +font-size:13px!important;
  • +overflow:auto!important;
  • +background:#fff!important;
  • +font-family:sans-serif,Arial!important;
  • +font-weight:normal!important;
  • +text-align:left!important;
  • +color:#000!important;
  • +padding:0.5em 1em!important;
  • +line-height:1.5em!important;
  • +border-radius:5px!important;
  • +border:1px solid #ccc!important;
  • +box-shadow:4px 4px 8px #888!important;
  • +max-width:350px!important;
  • +max-height:216px!important;
  • +z-index:2147483647!important;`
  • + );
  • + document.documentElement.appendChild(div);
  • + //点击了翻译内容面板,不再创建翻译图标
  • + div.addEventListener('mouseup', e => e.stopPropagation());
  • + this._tip = div;
  • + }
  • + showText(text) { //显示翻译文本
  • + this._tip.innerHTML = text;
  • + this._tip.hidden = !1;
  • + }
  • + hide() {
  • + this._tip.innerHTML = '';
  • + this._tip.hidden = true;
  • + }
  • + pop(ev) {
  • + this._tip.style.top = ev.pageY + 'px';
  • + //面板最大宽度为350px
  • + this._tip.style.left = (ev.pageX + 350 <= document.body.clientWidth ?
  • + ev.pageX : document.body.clientWidth - 350) + 'px';
  • + }
  • +}
  • +const tip = new TranslateTip();
  • +
  • +class Icon {
  • + constructor() {
  • + const icon = document.createElement('span');
  • + icon.hidden = true;
  • + icon.innerHTML = `<svg style="margin:0px !important;" "width="24" height="24" viewBox="0 0 768 768">
  • + <path d="M672 640.5v-417c0-18-13.5-31.5-31.5-31.5h-282l37.5 129h61.5v-33h34.5v33h115.5v33h-40.5c-10.5 40.5-33 79.5-61.5 112.5l87 85.5-22.5 24-87-85.5-28.5 28.5 25.5 88.5-64.5 64.5h225c18 0 31.5-13.5 31.5-31.5zM447 388.5c7.5 15 19.5 34.5 36 54 39-46.5 49.5-88.5 49.5-88.5h-127.5l10.5 34.5h31.5zM423 412.5l19.5 70.5 18-16.5c-15-16.5-27-34.5-37.5-54zM355.5 339c0-7.381-0.211-16.921-3-22.5h-126v49.5h70.5c-4.5 19.5-24 48-67.5 48-42 0-76.5-36-76.5-78s34.5-78 76.5-78c24 0 39 10.5 48 19.5l3 1.5 39-37.5-3-1.5c-24-22.5-54-34.5-87-34.5-72 0-130.5 58.5-130.5 130.5s58.5 130.5 130.5 130.5c73.5 0 126-52.5 126-127.5zM640.5 160.5c34.5 0 63 28.5 63 63v417c0 34.5-28.5 63-63 63h-256.5l-31.5-96h-225c-34.5 0-63-28.5-63-63v-417c0-34.5 28.5-63 63-63h192l28.5 96h292.5z" style="fill:#3e84f4;"></svg>`;
  • + icon.setAttribute('style',
  • + `width:25px!important;
  • + height:25px!important;
  • + background:#fff!important;
  • + border-radius:0%!important;
  • + box-shadow:0px 0px 0px #888!important;
  • + position:absolute!important;
  • + z-index:2147483647!important;`
  • + );
  • + document.documentElement.appendChild(icon);
  • + //拦截二个鼠标事件,以防止选中的文本消失
  • + icon.addEventListener('mousedown', e => e.preventDefault(), true);
  • + icon.addEventListener('mouseup', ev => ev.preventDefault(), true);
  • + icon.addEventListener('click', ev => {
  • + if (ev.ctrlKey) navigator.clipboard.readText()
  • + .then(text => {
  • + this.queryText(text.trim(),ev);
  • + })
  • + .catch(err => {
  • + console.error('Failed to read clipboard contents: ', err);
  • + });
  • + else {
  • + const text = window.getSelection().toString().trim().replace(/\s{2,}/g, ' ');
  • + this.queryText(text,ev);
  • + }
  • + });
  • + this._icon = icon;
  • + }
  • + pop(ev) {
  • + const icon = this._icon;
  • + icon.style.top = ev.pageY -50 + 'px';
  • + icon.style.left = ev.pageX + 100 + 'px';
  • + icon.hidden = !1;
  • + setTimeout(this.hide.bind(this), 2e3);
  • + }
  • + hide() {
  • + this._icon.hidden = true;
  • + }
  • + queryText(text,ev) {
  • + if (text) {
  • + this._icon.hidden = true;
  • + tip.pop(ev);
  • + const url = isChina(text) ? googleUrl +'en&q=' :
  • + countOfWord(text) == 1 ? youdaoUrl : googleUrl +'zh-CN&q=';
  • + ajax(url, text);
  • + }
  • + }
  • +}
  • +const icon = new Icon();
  • +
  • +document.addEventListener('mouseup', function(e) {
  • + var text = window.getSelection().toString().trim();
  • + if (!text) {
  • + icon.hide();
  • + tip.hide();
  • + }
  • + else icon.pop(e);
  • +});
  • +
  • +function ajax(url, text) {
  • + const isYd = url.includes('//dict.youdao.');
  • + url += encodeURIComponent(text);
  • + GM_xmlhttpRequest({
  • + method: 'GET',
  • + responseType: 'json',
  • + url: url,
  • + onload: function(res) {
  • + isYd ? youdao(res.response, text) : google(res.response);
  • + },
  • + onerror: function(res) {
  • + tip.showText("连接失败\nURL: "+ url);
  • + }
  • + });
  • +}
  • +
  • +function youdao(rst, text) {
  • + if (!rst || !rst.ec) {
  • + ajax(googleUrl + 'zh-CN&q=', text);
  • + return;
  • + }
  • + const { trs, ukphone, usphone, phone } = rst.ec.word[0];
  • + let html = '';
  • + if (!!ukphone && ukphone.length > 0) {
  • + html = `<span style="color:#9E9E9E !important;">英[${ukphone}]</span>`;
  • + }
  • + if (!!usphone && usphone.length > 0) {
  • + html += `<span style="color:#9E9E9E !important;">美[${usphone}]</span>`;
  • + }
  • + if (html.length > 0) {
  • + html += '<br />';
  • + } else if (!!phone && phone.length > 0) {
  • + html += `<span style="color:#9E9E9E !important;">[${phone}]</span>`;
  • + }
  • + html += trs.map(el => el.tr[0].l.i[0]).join('<br />');
  • + tip.showText(html);
  • +}
  • +
  • +function google(rst) {
  • + let k, html = '';
  • + for (k of rst.sentences) html += k.trans;
  • + tip.showText(html);
  • +}
  • +
  • +//三、彩云小译脚本
  • +
  • var background_key = 186;
  • $(document).keydown(function(e) {
  • if ( e.which == background_key && !(e.metaKey || e.ctrlKey) && e.altKey ) {

liew502 (the reported user) has made:

This report has been upheld by a moderator.

Also: disallowed external code from caiyunapp.com