OSDN Git Service

Redirect OSDN mail archive searches from DuckDuckGo to Google.
authorKeith Marshall <keith@users.osdn.me>
Sun, 12 Sep 2021 14:38:38 +0000 (15:38 +0100)
committerKeith Marshall <keith@users.osdn.me>
Sun, 12 Sep 2021 14:38:38 +0000 (15:38 +0100)
commit53358208c967d324855759a32dcf288dbb6830b4
tree6d625b40e3f12608fac8135082d89203f6727105
parentaa687c72a815bb0c10a1f2040e4a53e4395d3605
Redirect OSDN mail archive searches from DuckDuckGo to Google.

* site.js (osdn_archive, ddg_query, ddg_widget): New functions; they
facilitate setup and initiation of a DuckDuckGo query of any OSDN mail
archive, with redirection via the Google search engine, using...
(ddg_bang, ddg_google_search, ddg_google_search_site): ...these new
internal-use helper functions.

* mailing.html (MinGW-Users, MinGW-Notify): Use...
(ddg_widget, osdn_archive): ...these to initiate DuckDuckGo search...
(ddg_google_search): ...with this to redirect to the Google engine.
mailing.html
site.js