[GH-ISSUE #319] [FEATURE] <iframe-able page for insertion into other sites/startpages> #221

Closed
opened 2026-02-25 20:35:12 +03:00 by kerem · 3 comments
Owner

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.

Originally created by @timespacedecay on GitHub (May 16, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/319 <!-- DO NOT REQUEST UI/THEME/GUI/APPEARANCE IMPROVEMENTS HERE THESE SHOULD GO IN ISSUE #60 REQUESTING A NEW FEATURE SHOULD BE STRICTLY RELATED TO NEW FUNCTIONALITY --> **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.
kerem 2026-02-25 20:35:12 +03:00
Author
Owner

@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>'

<!-- gh-comment-id:841763562 --> @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>'`
Author
Owner

@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!

<!-- gh-comment-id:845997495 --> @benbusby commented on GitHub (May 21, 2021): Seems like a good enough idea either way. I just added it in https://github.com/benbusby/whoogle-search/commit/d5eebe9fe5805800cd335f1629cc8276e1224aa3. Thanks for the suggestion!
Author
Owner

@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> has target="_top" - I think this might be needed to display the whoogle search in the full page?

<!-- gh-comment-id:855364921 --> @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](view-source:https://duckduckgo.com/search.html) and noticed the `<form>` has `target="_top"` - I think this might be needed to display the whoogle search in the full page?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#221
No description provided.