Coder Social home page Coder Social logo

garywill / bigsearch Goto Github PK

View Code? Open in Web Editor NEW
197.0 5.0 14.0 703 KB

Browser extension. Definitly more than a GET/POST sender. Handily use search engines via a Flexible Tool! UI has Vimium-like feature 🌐🔍 (Pure-client. No 3rd-party server needed) 大术专搜 既专又广 手敲几下 纵横去往

License: GNU Affero General Public License v3.0

JavaScript 70.75% CSS 10.57% HTML 18.69%
metasearch metasearch-engine search-engine search-tool web-search firefox firefox-addon firefox-extension firefox-webextension search-history

bigsearch's People

Contributors

flyingicedragon avatar garywill avatar gitoffthelawn avatar yang-kyle 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

bigsearch's Issues

打开拓展自动选中文本

目前的大术专搜是打开拓展或者用快捷键唤醒后,光标在文本的最后
image

打开拓展后,自动选中文本应该会更加人性化(图-火狐浏览器)
image

一是打开后可以再次进行搜索,与原有的功能不冲突
二是粘贴新的文本也更加方便(进行新搜索的使用频率应该更高,若是想在原有基础上更改只需要用键盘方向键移动一下光标,或者鼠标点击一下,输入历史的功能也能恢复搜索过的文本)

综上,希望添加打开拓展自动选中文本的功能

对话搜索无法触发输入和搜索

尝试添加kimi,打开新网页后,无法正常触发输入和搜索。在用的油猴脚本使用粘贴方式可以正常触发。

站点:https://kimi.moonshot.cn/

以下配置无法触发输入和搜索

"kimi": {
    "dname": "kimi",
    "addr": "https://kimi.moonshot.cn",
    "ajax": [
      3000,
      "[data-testid='msh-chatinput-editor']",
      500,
      "[data-testid='msh-chatinput-send-button']"
    ],
    "action": "https://kimi.moonshot.cn/chat"
  },

使用js脚本可以完成输入和搜索

  function saveTextToClipboard(text) {
      navigator.clipboard.writeText(text)
          .then(() => {
              console.log('文本已成功保存到剪贴板');
          })
          .catch((error) => {
              console.error('保存文本到剪贴板时出现错误:', error);
          });
  }

  function triggerPasteEvent(element, value) {
      const event = new ClipboardEvent('paste', {
          dataType: 'text/plain',
          clipboardData: new DataTransfer(),
          bubbles: true,
          cancelable: true,
      });

      event.clipboardData.setData('text/plain', value);

      element.dispatchEvent(event);
  }

  var arxiv_paper = urlParams.get('arxiv');
  var editorElement = document.querySelector('[data-testid="msh-chatinput-editor"]');

  if (!editorElement && retryCount < maxRetries) {
      retryCount++;
      setTimeout(getElementWithRetry, retryInterval);
  } else if (editorElement) {
      editorElement.focus();
      saveTextToClipboard(arxiv_paper);

      // 获取剪贴板中的值
      navigator.clipboard.readText().then((clipboardValue) => {
          triggerPasteEvent(document.querySelector('[data-testid="msh-chatinput-editor"]'), clipboardValue);
          setTimeout(function () {
              document.querySelector('button[data-testid="msh-chatinput-send-button"]').click();
              
          }, 500);
      });

  }

同样的bing copilot也无法完成输入和搜索: https://www.bing.com/search?form=MY0291&OCID=MY0291&q=Bing+AI&showconv=1

"bing_chat": {
    "dname": "bing_chat",
    "addr": "https://www.bing.com/search?form=MY0291&OCID=MY0291&q=Bing+AI&showconv=1",
    "ajax": [
      5000,
      "#searchbox",
      500,
      "[aria-label='Submit']"
    ],
    "action": "https://www.bing.com/search?q=Bing+AI&showconv=1"
  }

谢谢!

Web of Science 失效

Web of Science 页面变化,原本的搜索方式失效。目前只想到 ajex 的办法解决,体验很差。不仅需要添加等待,而且需要输入检索式。

"webofscience": {
    "dname": "Web of Science",
    "addr": "https://webofscience.clarivate.cn",
    "action": "https://webofscience.clarivate.cn/wos/alldb/advanced-search",
    "ajax": [
        2000,
        "#advancedSearchInputArea"
    ]
}

能否添加自动开启/禁用vem的选项?

既然nvm模式是这个扩展的特色, 为什么不能在打开扩展的时候自动开启vem? 还需要再按快捷键切换状态.
为了更便捷点,能否添加一个开关选项, 可以让用户在弹出界面决定是否开启vem?

Bad UI on Ubuntu Chrome x64

Hi Gary,

Congrats for putting this amazing extension finally on the play store.

I just installed it in Ubuntu, and I noticed a wrong UI display, so basically you need to scroll left/right to see the whole content of the pop-up:

ext1

ext2

PS: for the sake of completeness, I tested the FireFox version even though I don't use it, and it is working fine there (the UI part at least)

Coridally,

Features request

Hi there!

  1. No Icons.
  2. No multiple links are open in one click. How can I select 5 or 7 links and open them at one time???
  3. No Russian language.
  4. No folders and SubFolders (infinity nesting).
  5. The visual design sucks 🤢🤮
  6. Can't get how to use it for this site?

https://andisearch.com

The product is still raw.

Right now I'm using Trufflepiggy and Selection Search.

Take care 🖤

Search multiple engines at once

Is it possible to set this so that I can choose and search multiple engines at once rather than having to click search for each engine separately?

Thanks

Not a Bug! Alternative but as a app for Windows

Hello there! Sorry for asking here. Does anybody know a BigSearch like but as a Win installable/portable application? If Open Source even better.

I only know one alternative but as a Windows app but the developer or the one who bought the project did a 🐀 move. If interested read the reviews to know why: SnipDo.

Hope someone can help me. Thanks!

Base64 encode search term

Slack requires that search terms be Base64 encoded. Is this a feature you would be interested in adding?

Allow the user to create his own catagories

The extensions is very helpful but, if we add a long list of search engines, it will be hard to use.
It would be good if it is possible to add categories as well as shown here:
image

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.