From c686dc9735aa22382a88944fd42f3c517701fae7 Mon Sep 17 00:00:00 2001 From: Lkytal Date: Mon, 26 Feb 2018 20:11:31 -0500 Subject: [PATCH] popup copy --- CHANGELOG.md | 3 ++- linkMix.user.js | 16 +++++++-------- meta/linkMix.meta.js | 4 ++-- meta/popsearch.meta.js | 4 ++-- meta/tieba_enhance.meta.js | 2 +- popsearch.user.js | 41 ++++++++++++++++++++++++-------------- 6 files changed, 41 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c50d3d1..c58fc29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,9 @@ All notable changes to all the scripts will be documented in this file. ## Popup Search +* 4.3.0: Provide 'Copy' button. * 4.2.7: Https icons. -* 4.2.6: Update Jquery +* 4.2.6: Update Jquery. * 4.2.4: Option to hide translator; fix for violentMonkey. * 4.2.3: Use data property instead of href. * 4.2.2: Exclude `Furk.net`. diff --git a/linkMix.user.js b/linkMix.user.js index 168a39f..fbff333 100644 --- a/linkMix.user.js +++ b/linkMix.user.js @@ -4,7 +4,7 @@ // @description:zh 把文字链接转换为可点击链接 // @author lkytal // @namespace Lkytal -// @version 2.8.5 +// @version 2.8.6 // @homepage https://lkytal.github.io/ // @homepageURL https://lkytal.github.io/coldfire/GM // @license AGPL @@ -38,9 +38,9 @@ url_regexp = /((https?:\/\/|www\.)[\x21-\x7e]+[\w\/]|(\w[\w._-]+\.(com|cn|org|ne urlPrefixes = ['http://', 'https://', 'ftp://', 'thunder://', 'ed2k://']; clearLink = function (event) { - var j, len, link, prefix, ref, url; + var j, len, link, prefix, ref, ref1, url; link = (ref = event.originalTarget) != null ? ref : event.target; - if (!(link != null && link.localName === "a" && link.className.indexOf("textToLink") !== -1)) { + if (!(link != null && link.localName === "a" && ((ref1 = link.className) != null ? ref1.indexOf("textToLink") : void 0) !== -1)) { return; } url = link.getAttribute("href"); @@ -57,12 +57,12 @@ clearLink = function (event) { document.addEventListener("mouseover", clearLink); setLink = function (candidate) { - var span, text; - if (candidate == null || candidate.parentNode.className.indexOf("textToLink") !== -1 || candidate.nodeName === "#cdata-section") { + var ref, ref1, ref2, span, text; + if (candidate == null || ((ref = candidate.parentNode) != null ? (ref1 = ref.className) != null ? typeof ref1.indexOf === "function" ? ref1.indexOf("textToLink") : void 0 : void 0 : void 0) !== -1 || candidate.nodeName === "#cdata-section") { return; } text = candidate.textContent.replace(url_regexp, '$1'); - if (candidate.textContent.length === text.length) { + if (((ref2 = candidate.textContent) != null ? ref2.length : void 0) === text.length) { return; } span = document.createElement("span"); @@ -78,7 +78,7 @@ linkPack = function (result, start) { var i, j, k, ref, ref1, ref2, ref3, startTime; startTime = Date.now(); while (start + 10000 < result.snapshotLength) { - for (i = j = ref = start, ref1 = start + 10000; undefined !== 0 && (ref <= ref1 ? ref <= j && j <= ref1 : ref >= j && j >= ref1); i = ref <= ref1 ? ++j : --j) { + for (i = j = ref = start, ref1 = start + 10000; ref <= ref1 ? j <= ref1 : j >= ref1; i = ref <= ref1 ? ++j : --j) { setLink(result.snapshotItem(i)); } start += 10000; @@ -86,7 +86,7 @@ linkPack = function (result, start) { return; } } - for (i = k = ref2 = start, ref3 = result.snapshotLength; undefined !== 0 && (ref2 <= ref3 ? ref2 <= k && k <= ref3 : ref2 >= k && k >= ref3); i = ref2 <= ref3 ? ++k : --k) { + for (i = k = ref2 = start, ref3 = result.snapshotLength; ref2 <= ref3 ? k <= ref3 : k >= ref3; i = ref2 <= ref3 ? ++k : --k) { setLink(result.snapshotItem(i)); } }; diff --git a/meta/linkMix.meta.js b/meta/linkMix.meta.js index 6e97147..e93c059 100644 --- a/meta/linkMix.meta.js +++ b/meta/linkMix.meta.js @@ -4,10 +4,10 @@ // @description:zh 把文字链接转换为可点击链接 // @author lkytal // @namespace Lkytal -// @version 2.8.5 +// @version 2.8.6 // @homepage https://lkytal.github.io/ // @homepageURL https://lkytal.github.io/coldfire/GM -// @license LGPL +// @license AGPL // @include * // @exclude *pan.baidu.com/* // @exclude *renren.com/* diff --git a/meta/popsearch.meta.js b/meta/popsearch.meta.js index 011b324..30e84c9 100644 --- a/meta/popsearch.meta.js +++ b/meta/popsearch.meta.js @@ -2,13 +2,13 @@ // @name Popup Search // @author lkytal // @namespace Lkytal -// @version 4.2.7 +// @version 4.3.0 // @icon https://github.com/lkytal/GM/raw/master/icons/search.png // @homepage https://lkytal.github.io/ // @homepageURL https://lkytal.github.io/ // @description Popup search box and translate button (etc) for selected texts // @description:zh 为选中文字弹出搜索和翻译的快捷按钮 -// @license LGPL +// @license AGPL // @include * // @exclude */test/*.html* // @exclude http://acid3.acidtests.org/* diff --git a/meta/tieba_enhance.meta.js b/meta/tieba_enhance.meta.js index 39875cc..03cb210 100644 --- a/meta/tieba_enhance.meta.js +++ b/meta/tieba_enhance.meta.js @@ -11,7 +11,7 @@ // @require https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js // @icon https://github.com/lkytal/GM/raw/master/icons/tieba.png // @noframes -// @license LGPL +// @license AGPL // @grant unsafeWindow // @grant GM_addStyle // @grant GM_xmlhttpRequest diff --git a/popsearch.user.js b/popsearch.user.js index 616662c..ce8f175 100644 --- a/popsearch.user.js +++ b/popsearch.user.js @@ -2,7 +2,7 @@ // @name Popup Search // @author lkytal // @namespace Lkytal -// @version 4.2.7 +// @version 4.3.0 // @icon https://github.com/lkytal/GM/raw/master/icons/search.png // @homepage https://lkytal.github.io/ // @homepageURL https://lkytal.github.io/ @@ -96,9 +96,22 @@ popData = { settingIcon: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAG3UlEQVR4nM2bYWhURxDHfxxHEAkhSAghBBEJRYpYEQlF8kFKKKWIH4JIkVCs9IMUESkiRUSQUKQUkVKKhCBFQisiRaSIiC2lFAmlFJFWpRQJwYYoMT3CNaQxXtMP8x733uzeu3f79j3zh4W7e7szs/NmZ2dm96A4vAJMApWENg9cAzoLlKswXANWU7ZTRQlVKooRsKWFvq/lJoV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AAAASUVORK5CYII=", tipDown: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAXElEQVQYlYXMsQ5AQBREUSoVjQ+f+S0lSi2livJlr4ZEZDcmud3JVJIW2yPQVqXZPmwjaQXqEuJJ0vCLbrgDfRZFxBsH0GTRCybbcxF9HhPQZdEHbkUUEUg6JU0Xm2KvCU6v27kAAAAASUVORK5CYII=", tipUp: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAZElEQVQYlXXMIQ4CMBBE0UWhwHDw+ddCAhILEgWy4WNo0tAyyZidly1AwNba1CSvJOf6h/oduC/RAN7qfkJ9BC7VM6LhQ1O3E+pN8lAPNeYHHGsV4PkFN3WzREmuwEndLUFVfQC3Xa8Jl+92RAAAAABJRU5ErkJggg==", - pending: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACGFjVEwAAAANAAAAAHHdBKEAAAAaZmNUTAAAAAAAAAAQAAAAEAAAAAAAAAAAAB4D6AAAOSVkVgAAAZ9JREFUOI2Nkr9r01EUxT+x2CBuXQS1oNAObv4B9l/QqSii4NAqRIMp6qAJvHeDCiIIZhPRoYNDqLiFipH8uCeuHdSpXRXpqoNbHL5fY5oXtQfe8O6579x77rswidA5TrlVTOK33h4mdE4k8TEUiP6A+mCIaSlhTedy7iFQSJ9H36A+GBK1RmjOJny5VST6zVzk9eTjvZWvPjtI8IvcbR9JLfqZsU6A0FnIKvv17K6jmD4R/QP32scAWGsewvSGau9kZqdfoj4YEjoLEP0Rpl2WmzMZ6VuYV9IZ+G3MtwBYbs5g2iXqMZg+YnqRWelfxvQ+HdBvq2oTdCkXfI7pM5i+E1XOg0+wfin1HQ7kfGVUzPwGph9g+kbQlSyxOTtKHscfexVML/NuzmPahrA5N0r4H2rdUwSdToT3oNqbJ+jsvgSnotqbx3wH0zuiX8P6JUyvCJtz+xcpt4oErWBax7RO1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pLIgC32pIIwG19k0oPey4gLOgZAhW0d0BD3BdQ7VUiu3MdnH+e81l5GkIAFIso3LvFmZFx/+uFff5k6RZcGGPuzpAKpI+2c4Ao3tBUAFk8WX9wCHzrmwQ+5BCgZ3rcfPmnLUYDmgDpJifd7IwDf/FEpDkA6XEYWL4ZRls7J74j3hXnb15G/toFTsRLsg+I5AAPx3HQ96EPxUKRM40D2V5iyOfkPehQeweI7w1GwTRNtLa1etvyFGcag9Jyx+GHahe5sSiCtD1Zng5lSKQWYgiEihBQrSRCqj5F8BdejqF6gf8BYV09k0RLz2IAAAAASUVORK5CYII=" }, optionList: [{ + id: "Trans_st", + text: "显示翻译按钮 / Display 'Translate' button", + defaultValue: 1 + }, { + id: "copy_icon_st", + text: "显示复制按钮 / Display 'Copy' button", + defaultValue: 1 + }, { + id: "AutoCopy_st", + text: "自动复制选中文字 / Auto copy selections", + defaultValue: 0 + }, { id: "Fade_st", text: "超时自动隐藏 / Hide after timeout", defaultValue: 1 @@ -110,17 +123,9 @@ popData = { id: "Focus_st", text: "前台标签页打开 / Force foreground tabs", defaultValue: 1 - }, { - id: "Trans_st", - text: "显示翻译按钮 / Display translate button", - defaultValue: 1 }, { id: "Iframe_st", - text: "在Iframe中显示/ Load in iframes", - defaultValue: 0 - }, { - id: "Copy_st", - text: "自动复制选中文字 / Auto copy selections", + text: "在Iframe中显示/ Activate in iframes", defaultValue: 0 }, { id: "Dis_st", @@ -326,7 +331,7 @@ OnEngine = function (e) { PopupInit = function () { var $DivBox, $icon, EngineList, engine, j, k, l, len, len1, len2, ref, ref1, ref2; $('#ShowUpBox').remove(); - EngineList = ""; + EngineList = " "; ref = popData.engines; for (j = 0, len = ref.length; j < len; j++) { engine = ref[j]; @@ -385,6 +390,12 @@ PopupInit = function () { if (!GetOpt('Trans_st')) { $('#transBtn').hide(); } + $('#copy_btn').on("click", function () { + return CopyText(popData.rawText); + }); + if (!GetOpt('copy_icon_st')) { + $('#copy_btn').hide(); + } if (GetOpt('Tab_st')) { $DivBox.find('a').attr('target', '_blank'); } else { @@ -535,7 +546,7 @@ ShowBar = function (event) { if (popData.rawText === '') { return; } - if (GetOpt("Copy_st")) { + if (GetOpt("AutoCopy_st")) { CopyText(popData.rawText); } $('#transPanel').empty().hide(); @@ -739,7 +750,7 @@ SettingWin = function () { UpdateLog = function () { addAdditionalCSS(); - $("body").append(""); + $("body").append(""); $('#popup_update_open').on('click', function (event) { UpdateNotified(); $("#popup_update_bg").hide(); @@ -817,7 +828,7 @@ addAdditionalCSS = function () { getLastRange = function (selection) { var j, rangeNum, ref; - for (rangeNum = j = ref = selection.rangeCount - 1; undefined !== 0 && (ref <= 0 ? ref <= j && j <= 0 : ref >= j && j >= 0); rangeNum = ref <= 0 ? ++j : --j) { + for (rangeNum = j = ref = selection.rangeCount - 1; ref <= 0 ? j <= 0 : j >= 0; rangeNum = ref <= 0 ? ++j : --j) { if (!selection.getRangeAt(rangeNum).collapsed) { return selection.getRangeAt(rangeNum); }