Giter VIP home page Giter VIP logo

gm's Introduction

Kaiyuan Liu Top Langs

gm's People

Contributors

huthvincent avatar lkytal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gm's Issues

建议页面输入框划词可以弹窗、点击划词部分文字图标不会闪一下、图标显示在鼠标停止位置右边

感谢大佬的脚本,已经很完美了,可以翻译、复制、自动隐藏、设置自定义脚本。

如果有时间,考虑更新下:

1,在页面输入框划词可以弹窗,比如百度搜索结果的输入框、Github评论框;
2,划词了点划词部分的文字,图标栏会闪一下;
3,图标可以显示在鼠标划词停止的后面,更方便点呀,前面图标有4、5个要移动鼠标太远

Exceptions to the rules

There are two forums where quoting messages do not work because of the working script. Is it possible to add an item in the script so that the script does not work on the specified sites?

Extension: Violentmonkey
Browser version: Google Chrome 71.0.3578.80

Thanks.

add minor changes to css in Scroll with Mouse Plus

add to #scrollUpIco opacity and cursor.

screenshot from 2018-03-02 16-27-42

The "Top" button is a little distracting (especially on small screens). Also sometimes duplicates what is on the site.
So I think it should be made less noticeable, given that the user already knows about her

although then the transparency in bg remains unnecessary
"background-color: rgba(0, 0, 0, 0.3);"

能否让搜索页面在当下活动页面的右侧?

当下,是跳到所有标签的最右(或者说最后面),对于习惯多开标签的家伙来说,有点点痛苦。
FF自带的搜索——拉去、右键单击——是跳到当下标签的右侧,有没有可能,也如此这般?
谢谢。

Text To Link修改建议

B站评论区的链接只能转换第一个,然后会跳过当前评论后续内容及子评论。怀疑是TreeWalker遍历的问题。建议将observePage函数修改一下

observePage = function (root) {
  var tW;
  tW = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {
    //+ NodeFilter.SHOW_ELEMENT,
    acceptNode: linkFilter
  }, false);

   while (tW.nextNode()) {
     setLink(tW.currentNode);
   }
};

改成

observePage = function (root) {
  var tW;
  tW = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {
    //+ NodeFilter.SHOW_ELEMENT,
    acceptNode: linkFilter
  }, false);

  var nodes = [];
  while (tW.nextNode()) {
    nodes.push(tW.currentNode);
  }
  for(var i=0; i<nodes.length; i++){
    setLink(nodes[i]);
  }
};

火狐CanvasBlocker扩展和此脚本冲突

火狐最新正式版扩展CanvasBlocker升级到0.5.5后发现脚本无法运行,即选择网页后无法弹出按钮框,会在选定的网页文字后面出现×符号。

FireFox 57

FireFox 57正式版已发布,可以更新一下脚本以适配吗?谢谢!

Popup search translation

The translation always translate all languages to chinese. Will be better if they can be translated to mi local language or choose one in the settings script.

Salutes, from Argentina.

Select like Opera 无效

你好,能修复下Select like Opera吗?
它在firefox 78正式版-Tampermonkey 开始失效了。

打开编辑查看,有两处错误:
no-redeclare-'newRange' is already defined.
no-redeclare-'i' is already defined.

无法翻译

选择翻译,还是显示英文,并不会显示中文翻译结果

可否考虑增加自定义按钮位置的功能?

首先感谢作者的脚本。
有这样一个十分常见的场景:在阅读大量密集文字的页面时,很多人会习惯鼠标左键选定文字以辅助阅读,但是这时候并不需要弹出按钮,而 Only when ctrl pressed 的功能也需要双手操作。
如果能自定义按钮位置(例如输入像素坐标、拖拽保存位置、固定在选定文字首字符左上角等),这样有效阅读区域就不会被按钮遮挡。

Popup Search 怎么把CTRL键改为ALT键?

不知道其他浏览器是怎么样。
我用的CHROME按住ALT可以选择链接中的部分文字
比方说假设 12345 是链接的文字。
按住ALT可以从3开始选择到1或者到5
而按住CTRL除非从链接旁边开始选择,否则会直接调用打开链接的操作,且不能选中链接中的个别文字。

我在脚本中搜索了CTRL然后替换成ALT。不成功。

Popup Search 建议

非常感谢做了这么好的插件,在 windows 下总算可以替代 popclip 了

希望能够完善

  • 目前在<input>及<textarea>内无法调用
  • “选中文本视作链接打开”功能建议配合链接识别改成“选中链接时打开”,区别是识别到链接时才启用该按钮
  • “自动复制选中文字”功能建议做成按钮
  • 添加全选、剪切及粘贴
  • pop弹出位置建议居中鼠标,这样左滑右滑时弹出体验可以保持一致

希望增加

  • “用文字代替图标”选项
  • 按钮排序功能
  • 界面样式美化

需求可能有些多,希望没有冒犯到作者,无论是否提供这些改进,个人都是非常感谢及支持的。

Popup Search如何在动作之后让图标不消失?

选择文本之后可能进行多个操作,如在不同的搜索引擎搜索,复制,翻译等,这样又需要多次选择。如果可以让它一直显示,直到点击页面其他地方再消失就好了。
请问怎样才能达到这样的效果呢?

另外相比其他类似脚本,这个使用起来更加方便,尤其是添加搜索引擎方面,感谢作者。

Popup Search的自定义能否实现一个id多个href?

 [
    {
        id: "1",
        title: "Example Engine",
        description: "自定义引擎示例",
        src: "http://lkytal.website.com/ic.ico",
        href: "https://www.websiteAAA.com/search?q=${text}"
        href: "https://www.websiteBBB.com/search?q=${text}"
    }
] 

大致想表达的就是这样,选中文字后一次过打开多个网站来搜寻

Popup Search 在 Firefox 下失效

Firefox 58.0.2 x64

之前安装后一直没有效果(Tampermonkey 也不显示脚本设置链接),也没在意,今早收到更新后自动弹出 Popup Search 设置,并且在 Tampermonkey 下出现了设置链接,划词后也有弹出,但重启后又失效,就像没安装一样,原因不明……

试过 Greasemonkey 了,一样无效问题一致

编辑:
禁用 Tampermonkey 再启用后就正常了,同时安装的 Userscript+ 也正常了,看来是 firefox 自身的问题

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.