четверг, 15 октября 2015 г.

Themes settings for DuckDuckGo

You can find here settings URLs for theming the https://duckduckgo.com/ site.

Style your DDG according the favorite operating system or distro.

  • var settings_string = "l=ru-ru; ad=ru_RU; n=1; aj=m; ae=c; ah=ru-ru; s=l; w=n; u=1; ak=-1; t=n; 7=FFFFFF; j=F0F0F0; a=u; 9=900; aa=900; x=000; y=EEEEEE; af=-1; f=w; ai=-1"
JavaScript snippet to copy settings from settings URL to cookies:
var settings_string = "l=ru-ru; ad=ru_RU; n=1; aj=m; ae=c; ah=ru-ru; s=l; w=n; u=1; ak=-1; t=n; 7=FFFFFF; j=F0F0F0; a=u; 9=900; aa=900; x=000; y=EEEEEE; af=-1; f=w; ai=-1"

var settings_array = settings_string.split('; ')

for (var cindex in settings_array)
{ document.cookie = settings_array[cindex]
}

Комментариев нет:

Отправить комментарий