Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
53 user(s) are online (46 user(s) are browsing Forums)

Members: 0
Guests: 53

more...
Support us!
Recent OS4 Files
OS4Depot.net





DuckDuckGo search in IB?
Just popping in
Joined:
2006/12/2 1:41
From VA, USA
Posts: 223
Hi folks,

I've been trying to see if I could come up with a URL for
DuckDuckGo.com which would let me do searches from the
IBrowse search bar...

While I can just go to the site URL, perform searches and
use the results in IB, I haven't had much luck coming up
with a search bar string.

Here's a DDG page where I found some docs:

https://duckduckgo.com/params

And I tried the Mycroft page for their plugins.

Anyone else have any luck along these lines?

Thanks,

PJS


   Report Go to top

Re: DuckDuckGo search in IB?
Just can't stay away
Joined:
2006/11/24 18:52
From Gloucestershire, UK.
Posts: 1141
does't something like this work?

https://duckduckgo.com/?kp=-2&q=%s


_________________
Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
   Report Go to top

Re: DuckDuckGo search in IB?
Just popping in
Joined:
2006/12/2 1:41
From VA, USA
Posts: 223
Hey Sev,

Nope, when I just paste that string in the URL line or put
it in a Search config, it just gives me an empty page on
DDG with the search term. No results.

Is that working for you?

Thanks,

PJS

   Report Go to top

Re: DuckDuckGo search in IB?
Not too shy to talk
Joined:
2006/11/27 22:28
From Germany
Posts: 288
i tried this with OWB:
https://duckduckgo.com/?q=%s&kp=-2

and it works perfect.

regards...
michael

_________________
Michael Merkel
(Michael.Merkel@gmx.net Home)
Member of Amiga-Freunde Pfalz, OS4 Welt
   Report Go to top

Re: DuckDuckGo search in IB?
Just popping in
Joined:
2006/12/2 1:41
From VA, USA
Posts: 223
Hi Michael,

Unfortunately, that's not working any better for me then
my previous attempts...

When I set up & tried the URL bar search entry with your
string, I end up with a nearly empty page with just a
string field and my query in it, like this:

http://www.pjsa.net/IBgrab.jpg

hmmmm....

PJS

   Report Go to top

Re: DuckDuckGo search in IB?
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@pjs

Try it the simple way: https://duckduckgo.com/?q=amigaos
?q is for query, all the other stuff that comes after that is some sort of formatting the "found links" page.

If that simple thing doesn't work for you, try the https://duckduckgo.com page all by itself.
Search something, click on any item and then retrace to the search page.

In Odyssey you'll get the complete search string displayed, with all the bells and whistles, e.g. https://duckduckgo.com/?q=amigaos&atb=v1&ia=web

But if it doesn't show anything you are probably out of luck with IB.

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: DuckDuckGo search in IB?
Just popping in
Joined:
2006/12/2 1:41
From VA, USA
Posts: 223
@Raziel

Hi Stranger!

Yeah, I think I tried all those variants before...

As a simple example, if you paste any of those in the URL
gadget of IB and hit return, you get the incomplete and
empty DDG page I've been getting.

I'm guessing that DDG must be doing some javascript on the
search URL string that isn't happy with IB while if you
just enter the a search string in their webpage it works.

Bummer.

PJS

   Report Go to top

Re: DuckDuckGo search in IB?
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 898
Edit: Just realised this probably can't work from the IBrowse search bar.

If you disable javascript in Firefox it sends a POST request to https://duckduckgo.com/html

When searching for "test" (quotes not included) it sends:

q=test

You should be able to make a local .html file with a simple form in it so IBrowse can generate the required POST request and send it to the right URL.

   Report Go to top

Re: DuckDuckGo search in IB?
Just popping in
Joined:
2017/5/18 10:12
From Audruicq, France
Posts: 13
Without JS, it seems to work!

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project