move bangs from preset
This commit is contained in:
parent
210d169289
commit
ea92ab2bc2
1 changed files with 10 additions and 10 deletions
|
|
@ -29,12 +29,6 @@ const storage = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {Object} Bang
|
|
||||||
* @prop {string} keyword
|
|
||||||
* @prop {string} name
|
|
||||||
* @prop {string} url
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} Preset
|
* @typedef {Object} Preset
|
||||||
|
|
@ -46,7 +40,6 @@ const storage = {
|
||||||
* @prop {number} base_bg_color
|
* @prop {number} base_bg_color
|
||||||
* @prop {number} base_bg_saturation
|
* @prop {number} base_bg_saturation
|
||||||
* @prop {number} base_bg_color_range
|
* @prop {number} base_bg_color_range
|
||||||
* @prop {Bang[]} bangs_override
|
|
||||||
* @prop {string} search_url
|
* @prop {string} search_url
|
||||||
* @prop {bool} display_suggestions
|
* @prop {bool} display_suggestions
|
||||||
* @prop {bool} display_history
|
* @prop {bool} display_history
|
||||||
|
|
@ -159,9 +152,6 @@ const preset = {
|
||||||
base_bg_saturation: 10,
|
base_bg_saturation: 10,
|
||||||
base_bg_brightness: 10,
|
base_bg_brightness: 10,
|
||||||
base_bg_color_range: 10,
|
base_bg_color_range: 10,
|
||||||
bangs_override: [
|
|
||||||
{name: 'Google Search AI', keyword: 'ai', url: 'https://www.google.com/search?q={{{s}}}&sourceid=chrome&ie=UTF-8&amc=1&oq={{{s}}}&udm=50&aep=109&cud='}
|
|
||||||
],
|
|
||||||
search_url: 'https://www.google.com/search?q={{{s}}}',
|
search_url: 'https://www.google.com/search?q={{{s}}}',
|
||||||
display_suggestions: false,
|
display_suggestions: false,
|
||||||
display_history: false,
|
display_history: false,
|
||||||
|
|
@ -176,3 +166,13 @@ const preset = {
|
||||||
s300: '#444',
|
s300: '#444',
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {Object} Bang
|
||||||
|
* @prop {string} keyword
|
||||||
|
* @prop {string} name
|
||||||
|
* @prop {string} url
|
||||||
|
*/
|
||||||
|
var bangs_override = [
|
||||||
|
{name: 'Google Search AI', keyword: 'ai', url: 'https://www.google.com/search?q={{{s}}}&sourceid=chrome&ie=UTF-8&amc=1&oq={{{s}}}&udm=50&aep=109&cud='}
|
||||||
|
]
|
||||||
Loading…
Add table
Reference in a new issue