Last active
November 13, 2023 10:21
-
-
Save Dj0ulo/7224203ee9be47ba5be6f57be1cd22c5 to your computer and use it in GitHub Desktop.
OptiSearch queries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Google": { | |
"link": "https://www.google.com", | |
"icon": "https://www.google.com/images/branding/googleg/1x/googleg_standard_color_128dp.png", | |
"rightColumn": "#rhs", | |
"centerColumn": "#center_col", | |
"resultRow": "#rso > div:not(.optisearchbox)", | |
"searchBox": "input.gLFyf.gsfi, input.gLFyf, textarea.gLFyf", | |
"active": true, | |
"regex": "^www\\.google\\.", | |
"widthStyle": ".optisearchbox{min-width: ${maxW}px;}", | |
"style": ".optisearch-column:has(.zLsiYe) .optisearchbox {margin-left: -21px;}", | |
"onMobile": "#cnt > #center_col" | |
}, | |
"Bing": { | |
"link": "https://www.bing.com", | |
"icon": "https://www.bing.com/favicon.ico", | |
"rightColumn": "#b_context", | |
"centerColumn": "main", | |
"resultRow": ".b_algo", | |
"searchBox": ".b_searchbox#sb_form_q", | |
"active": true, | |
"regex": "\\.bing\\.com$", | |
"widthStyle": ".optisearchbox{min-width: ${maxW}px;}", | |
"style": ".optisearchbox {margin-right: -20px; margin-left: -20px;}", | |
"onMobile": "meta[name='viewport']" | |
}, | |
"Ecosia": { | |
"link": "https://www.ecosia.org", | |
"icon": "https://cdn-static.ecosia.org/static/icons/favicon.ico", | |
"rightColumn": ".sidebar.web__sidebar[data-test-id=sidebar]", | |
"rightColumnRemovable": true, | |
"searchNav": "div.main-header__search-navigation", | |
"searchNavNeighbor": "div.main-header__navigation", | |
"centerColumn": ".mainline", | |
"resultRow": ".mainline__result-wrapper", | |
"searchBox": ".search-form__input, #search-form-input", | |
"active": true, | |
"regex": "\\.ecosia\\.org$", | |
"widthStyle": ".web[data-test-id=layout-content] { grid-template-columns: 120px minmax(0,660px) 40px minmax(0,${maxW}px) 25px !important;}", | |
"style": ".sidebar.web__sidebar[data-test-id=sidebar]{grid-area: sidebar;} .optisearchbox .optichat .title, .continue-chat-button > span { bottom: 0; }", | |
"onMobile": 992 | |
}, | |
"Yahoo": { | |
"link": "https://www.yahoo.com", | |
"icon": "https://s.yimg.com/oa/build/images/favicons/yahoo.png", | |
"rightColumn": "#right", | |
"resultRow": ".dd.algo", | |
"searchBox": "#yschsp", | |
"active": false, | |
"regex": "search\\.yahoo\\.com$" | |
}, | |
"DuckDuckGo": { | |
"link": "https://duckduckgo.com", | |
"icon": "https://duckduckgo.com/favicon.ico", | |
"rightColumn": ".js-react-sidebar", | |
"centerColumn": "[data-area='mainline']", | |
"resultRow": ".react-results--main > li", | |
"searchBox": "#search_form_input", | |
"resultsContainer": "[data-area='mainline']", | |
"active": true, | |
"regex": "duckduckgo\\.com$", | |
"widthStyle": ".js-react-sidebar {max-width: ${maxW}px !important; } .cw{max-width:unset;}", | |
"style": ".optisearch-column-wide { max-width: var(--opti-max-width) !important; } .cw{max-width:unset;}", | |
"onMobile": null | |
}, | |
"Brave Search": { | |
"link": "https://search.brave.com", | |
"icon": "https://cdn.search.brave.com/serp/v1/static/brand/16c26cd189da3f0f7ba4e55a584ddde6a7853c9cc340ff9f381afc6cb18e9a1e-favicon-32x32.png", | |
"rightColumn": ".sidebar", | |
"centerColumn": "#results", | |
"resultRow": ".snippet.fdb, .snippet.svelte-1ckzfks", | |
"searchBox": "#searchbox", | |
"active": true, | |
"regex": "search\\.brave\\.com$", | |
"widthStyle": "#side-right {--width: ${maxW}px;}", | |
"style": ".optisearch-column-wide {max-width: var(--opti-max-width); min-width: var(--opti-max-width) !important;}", | |
"onMobile": "meta[name='viewport']" | |
}, | |
"Baidu": { | |
"link": "https://www.baidu.com/", | |
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAPFBMVEVHcEz////////9/f/////p6/2srvK6vPXZ2vrIyvcACt8LG+A9ReUbJuFpb+ooMeFWXOeLj+2bn+98gexUG/hRAAAABHRSTlMAEaz5aKQWgAAAAU9JREFUeAGF092SgyAMBWCr/J54DOr7v+tCRqhdZ7fchJJvMk2QaXrNi/tjLfOr5t2/6zXNY+9DtJhCfoN5GvUTRNYaI4htgGUa21VVJTgnNeJdY4CEmuDmklh8gtgSuvb4BNkSpccncHL9B1j8BJHYXYYI648DRHFJsS0dZKgi3Odg9Vg6KFqXuPsK1my6ABuAt2nGbGBrZxIvgA6WAhGJHTAY6LwNk0arONiLNuDB1oY7LW8JOzpHm/7cQrslhZhY+9F9UNas3YQ1+JxkgA6gXJff4AQBqYBsgEyfoIgcLSYkRx5uJ/IdnNJ6TsmAGLAmRxdoYyDkDrgPYB+JfVJ3oPoGQRTOlasCsRvgG2TpBROixQpYBrDrki157yvNNfiTKuEGYhUUAUACIkLlerW5WMhEy5f9ODZtAmd/OP3ppZx9f01130c9f3+8357/D50CHYMuiWz1AAAAAElFTkSuQmCC", | |
"rightColumn": "#content_right.cr-offset", | |
"centerColumn": "#content_left", | |
"resultRow": ".result", | |
"searchBox": "#kw", | |
"active": true, | |
"regex": "www\\.baidu\\.com$", | |
"widthStyle": "#container{ width: 1280px; } #content_right{ width: ${maxW}px !important;}", | |
"style": "#container.sam_newgrid .right-ceiling {position: static !important;}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment