mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 04:05:57 +03:00
[GH-ISSUE #319] [FEATURE] <iframe-able page for insertion into other sites/startpages> #221
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @timespacedecay on GitHub (May 16, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/319
Describe the feature you'd like to see added
A small HTML page (or something else that would net the same effect as described next) that could be used in an iframe in another webpage/site; for example: https://duckduckgo.com/search.html
Additional context
An HTML page with only a search bar a la https://duckduckgo.com/search.html that can be used inside an iframe or other web pages.
@timespacedecay commented on GitHub (May 16, 2021):
Maybe not necessary, looks like I was able to accomplish this without an iframe
'<form action="https://whoogle.url/search" method="get"><input type="text" name="q" style="width: 100%" spellcheck="false" autofocus="true" /></form>'@benbusby commented on GitHub (May 21, 2021):
Seems like a good enough idea either way. I just added it in
github.com/benbusby/whoogle-search@d5eebe9fe5. Thanks for the suggestion!@timespacedecay commented on GitHub (Jun 6, 2021):
Thanks for this! Only issue, and maybe its because I'm not passing the right arguments through on the iframe, is that the iframe'd whoogle page (search.html) displays the search results in the tiny iframe rather than loading a full whoogle page.
I looked at the source of the duckduckgo search.html file and noticed the
<form>hastarget="_top"- I think this might be needed to display the whoogle search in the full page?