19 lines
No EOL
613 B
JavaScript
19 lines
No EOL
613 B
JavaScript
// Init
|
|
/// Toggles
|
|
if (localStorage.getItem('enable-search') === null) {
|
|
localStorage.setItem('enable-search', true)
|
|
}
|
|
if (localStorage.getItem('enable-top-sites') === null) {
|
|
localStorage.setItem('enable-top-sites', true)
|
|
}
|
|
if (localStorage.getItem('enable-clock') === null) {
|
|
localStorage.setItem('enable-clock', true)
|
|
}
|
|
if (localStorage.getItem('enable-wallpaper-credits') === null) {
|
|
localStorage.setItem('enable-wallpaper-credits', true)
|
|
}
|
|
|
|
/// Search Engine
|
|
if (localStorage.getItem('search-engine') === null) {
|
|
localStorage.setItem('search-engine', "https://duckduckgo.com/?t=h_&q=")
|
|
} |