Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
33 user(s) are online (27 user(s) are browsing Forums)

Members: 0
Guests: 33

more...

Headlines

 
  Register To Post

DuckDuckGo search in IB?
Not too shy to talk
Not too shy to talk


See User information
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


Go to top
Re: DuckDuckGo search in IB?
Just can't stay away
Just can't stay away


See User information
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>
Go to top
Re: DuckDuckGo search in IB?
Not too shy to talk
Not too shy to talk


See User information
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

Go to top
Re: DuckDuckGo search in IB?
Not too shy to talk
Not too shy to talk


See User information
i tried this with OWB:
https://duckduckgo.com/?q=%s&kp=-2

and it works perfect.

regards...
michael

Go to top
Re: DuckDuckGo search in IB?
Not too shy to talk
Not too shy to talk


See User information
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

Go to top
Re: DuckDuckGo search in IB?
Home away from home
Home away from home


See User information
@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.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: DuckDuckGo search in IB?
Not too shy to talk
Not too shy to talk


See User information
@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

Go to top
Re: DuckDuckGo search in IB?
Quite a regular
Quite a regular


See User information
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.

Go to top
Re: DuckDuckGo search in IB?
Just popping in
Just popping in


See User information
Without JS, it seems to work!

Go to top
Re: DuckDuckGo search in IB?
Not too shy to talk
Not too shy to talk


See User information
Hi Petrol and all,

Thanks! Yes, turning off JS did wonders. I created a new
URL prefs entry, turning off JS on DDG and new the URL bar
search entry is working great with this string:

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

Good stuff.

Thanks again,

PJS

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project