Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging text to search not working with POST #56

Open
account00001 opened this issue May 25, 2023 · 3 comments
Open

Dragging text to search not working with POST #56

account00001 opened this issue May 25, 2023 · 3 comments

Comments

@account00001
Copy link

Select some text, drag it up to the tab bar and release to create a new tab. Normally this will search the selected text in the given search engine without the need to copy and paste, however when the search engine is set to POST, the selected text is not sent properly.

https://html.duckduckgo.com/html/

@evilpie
Copy link
Owner

evilpie commented May 25, 2023

That sounds more like a Firefox problem to me. Please post your search engine config.

@account00001
Copy link
Author

{
    "version": 6,
    "engines": [
        {
            "_name": "DuckDuckGo HTML",
            "_loadPath": "[https]paste.mozilla.org/duckduckgo-html.xml",
            "description": "",
            "_iconURL": "",
            "_iconMapObj": null,
            "_metaData": {
                "loadPathHash": "QrBh6jgRPkOIXo3v7OlpOF0OPssSgTpzOVef1mTGU78=",
                "order": 7
            },
            "_urls": [
                {
                    "params": [
                        {
                            "name": "q",
                            "value": "{searchTerms}"
                        }
                    ],
                    "rels": [],
                    "template": "https://html.duckduckgo.com/html/",
                    "method": "POST"
                }
            ],
            "_orderHint": null,
            "_telemetryId": null,
            "_updateInterval": null,
            "_updateURL": null,
            "_iconUpdateURL": null,
            "_filePath": null,
            "_extensionID": null,
            "_locale": null,
            "_definedAliases": [],
            "__searchForm": "https://html.duckduckgo.com"
        }
    ],
    "metaData": {
        "current": "DuckDuckGo HTML",
        "hash": "Z0eXugj4zOr1wikEb54tHxH8ztrZGuXm52s8savW/wk=",
        "useSavedOrder": true,
        "locale": "en-US",
        "region": "US",
        "channel": "release",
        "experiment": "",
        "distroID": "",
        "appDefaultEngine": "Google"
    }
}

@evilpie
Copy link
Owner

evilpie commented Jun 7, 2023

Thanks. What I actually meant was "Open SearchXML preview" button in the addon's advanced mode, which shows the OpenSearch XML.

Does the search work correctly when using the search bar in Firefox? It's possible that for some reason Firefox doesn't support POST requests for that specific case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants