您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
[userChromeJS] Drag selected character strings or image and drop to the semitransparent box displayed on web page to open search result.
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.
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 . |
{
"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}",
}
]
}
I made this script on the basis of the idea and design of Drag & DropZones (Web Search Pro) which has quit development.
Drag & Drop Search+ (Version 1.2.4 or previous)