Greasy Fork is available in English.

Drag & DropZones +

[userChromeJS] Drag selected character strings or image and drop to the semitransparent box displayed on web page to open search result.

作者
100の人
今日安装
0
总安装量
532
得分
15 0 1
版本
4.1.0
创建日期
2014-04-05
最近更新
2021-02-14
兼容性
与 Firefox 兼容 与 Chrome 不兼容 与 Opera 不兼容 与 Edge 不兼容
许可协议
MPL-2.0
应用到
  • main
  • Doesn't block drag-and-drop on Webpages.
  • Always brings to front; is not affected by Webpage stylesheets or frames etc.
  • Can drop hyperlinks or images.
  • Supports dragging into browser from outside, and you can post image or audio file.
  • Search engine information doesn't leak because this script doesn't embed dropzones into Webpages.
  • Can synchronize with Search Bar engine.

This script is for userChromeJS. Choose the Tools tab from the menu bar to open Drag & DropZones+ settings. If the bar isn't displayed, press the "F10" key to display it.

▚▚▚▚▚ Settings

Create a file named drag-and-dropzones-plus.json in chrome folder. If it does not exist, a sample file will be generated when you open the Firefox window.

where Where to open the search results. One of current tab window.
providers.name Name. If only this field is specified, the browser’s registered search engine of the same name will be used.
providers.search_url URL. {searchTerms} is replaced by the search terms.
providers.search_url_post_params When using the POST method, specify in application/x-www-form-urlencoded format (sent in multipart/form-data). {searchTerms} is replaced by the search terms.
providers.image_url URL for searching by image.
providers.image_url_post_params When searching by image, specify in application/x-www-form-urlencoded format. {searchTerms} is replaced with the image data.
providers.favicon_url URL of an icon starting with data:
providers.encoding Character encoding. If unspecified, UTF-8.

Example

{
    "where": "tab",
    "providers": [
        {
            "name": "Google"
        },
        {
            "name": "Weblio辞書"
        },
        {
            "name": "Weblio英和和英"
        },
        {
            "name": "Wikipedia (ja)"
        },
        {
            "name": "Google 翻訳"
        },
        {
            "name": "DeepL Translate"
        },
        {
            "name": "Google 画像で検索",
            "image_url": "https://www.google.com/searchbyimage/upload",
            "image_url_post_params": "encoded_image={searchTerms}",
        }
    ]
}

▚▚▚▚▚ Acknowledgement

I made this script on the basis of the idea and design of Drag & DropZones (Web Search Pro) which has quit development.

Former name

Drag & Drop Search+ (Version 1.2.4 or previous)