duckduckgo / zeroclickinfo-goodies

DuckDuckGo Instant Answers based on Perl & JavaScript
https://duckduckhack.com/
Other
980 stars 1.76k forks source link

Question: Can we save some Goodie settings in user session? #3763

Closed sahildua2305 closed 7 years ago

sahildua2305 commented 7 years ago

Description

Is it possible to save some settings that user selects in some Goodie and keep them persistent across the page reloads?

People to notify

@moollaza @tagawa

moollaza commented 7 years ago

@sahildua2305 yes -- we do this in the Forecast Instant Answer:

https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/share/spice/forecast/forecast.js#L364

moollaza commented 7 years ago

I believe this is the only Instant Answer that currently does this