Send text data to external website input window

Asked 2 years ago, Updated 2 years ago, 40 views

Currently, I am looking for a way to send text data to the input window of an external website in the app.

External websites refer to sites such as Naver and Google

I want to know how to automatically send text data to the search box of each site from the app I made.

android web

2022-09-21 18:34

1 Answers

You can attach it to the URL and send it together.

For Google

http://www.google.com/webhp?q={query}

You can write text in the {query} part. Example

If you want to display the search result window immediately

http://www.google.com/webhp?q={query} #hl=en&safe=off&tbo=d&output=search&sclient=py-ab&q={query}&oq={query}

You can configure the URL as follows. Example

For Naver

https://search.naver.com/search.naver?where=nexearch&query={query}

You can write text in the {query} part. Example

For the following

You can write text in the {query} part. Example


2022-09-21 18:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.