From 3d767e1a844da30afb013080c261e7a843b091c2 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 28 Dec 2020 19:41:31 +0100 Subject: [PATCH] stuff --- .../GoogleSearchReplace.plugin.js | 29 ++++++++++++------- Themes/BlurpleRecolor/BlurpleRecolor.css | 25 ++++++++++++++++ 2 files changed, 43 insertions(+), 11 deletions(-) diff --git a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js index d2f32cd820..358811c77e 100644 --- a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js +++ b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js @@ -14,10 +14,16 @@ module.exports = (_ => { "info": { "name": "GoogleSearchReplace", "author": "DevilBro", - "version": "1.2.8", + "version": "1.2.9", "description": "Replace the default Google Text Search with a selection menu of several search engines" + }, + "changeLog": { + "added": { + "GitHub": "Added github as search engine" + } } }; + return !window.BDFDB_Global || (!window.BDFDB_Global.loaded && !window.BDFDB_Global.started) ? class { getName () {return config.info.name;} getAuthor () {return config.info.author;} @@ -68,20 +74,21 @@ module.exports = (_ => { }, engines: { _all: {value: true, name: BDFDB.LanguageUtils.LanguageStrings.FORM_LABEL_ALL, url: null}, - Ask: {value: true, name: "Ask", url: "https://ask.com/web?q=" + textUrlReplaceString}, - Bing: {value: true, name: "Bing", url: "https://www.bing.com/search?q=" + textUrlReplaceString}, - DogPile: {value: true, name: "DogPile", url: "http://www.dogpile.com/search/web?q=" + textUrlReplaceString}, + Ask: {value: true, name: "Ask", url: "https://ask.com/web?q=" + textUrlReplaceString}, + Bing: {value: true, name: "Bing", url: "https://www.bing.com/search?q=" + textUrlReplaceString}, + DogPile: {value: true, name: "DogPile", url: "http://www.dogpile.com/search/web?q=" + textUrlReplaceString}, DuckDuckGo: {value: true, name: "DuckDuckGo", url: "https://duckduckgo.com/?q=" + textUrlReplaceString}, + GitHub: {value: true, name: "GitHub", url: "https://github.com/search?q=" + textUrlReplaceString}, Google: {value: true, name: "Google", url: "https://www.google.com/search?q=" + textUrlReplaceString}, GoogleScholar: {value: true, name: "Google Scholar", url: "https://scholar.google.com/scholar?q=" + textUrlReplaceString}, - Quora: {value: true, name: "Quora", url: "https://www.quora.com/search?q=" + textUrlReplaceString}, - Qwant: {value: true, name: "Qwant", url: "https://www.qwant.com/?t=all&q=" + textUrlReplaceString}, - UrbanDictionary: {value: true, name: "Urban Dictionary", url: "https://www.urbandictionary.com/define.php?term=" + textUrlReplaceString}, - Searx: {value: true, name: "Searx", url: "https://searx.info/?q=" + textUrlReplaceString}, - WolframAlpha: {value: true, name: "Wolfram Alpha", url: "https://www.wolframalpha.com/input/?i=" + textUrlReplaceString}, + Quora: {value: true, name: "Quora", url: "https://www.quora.com/search?q=" + textUrlReplaceString}, + Qwant: {value: true, name: "Qwant", url: "https://www.qwant.com/?t=all&q=" + textUrlReplaceString}, + UrbanDictionary: {value: true, name: "Urban Dictionary", url: "https://www.urbandictionary.com/define.php?term=" + textUrlReplaceString}, + Searx: {value: true, name: "Searx", url: "https://searx.info/?q=" + textUrlReplaceString}, + WolframAlpha: {value: true, name: "Wolfram Alpha", url: "https://www.wolframalpha.com/input/?i=" + textUrlReplaceString}, Yandex: {value: true, name: "Yandex", url: "https://yandex.com/search/?text=" + textUrlReplaceString}, - Yahoo: {value: true, name: "Yahoo", url: "https://search.yahoo.com/search?p=" + textUrlReplaceString}, - YouTube: {value: true, name: "YouTube", url: "https://www.youtube.com/results?q=" + textUrlReplaceString} + Yahoo: {value: true, name: "Yahoo", url: "https://search.yahoo.com/search?p=" + textUrlReplaceString}, + YouTube: {value: true, name: "YouTube", url: "https://www.youtube.com/results?q=" + textUrlReplaceString} } }; } diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 6561f7a61d..ad57153652 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -955,6 +955,7 @@ -webkit-mask: url('data:image/svg+xml; utf8, ') center/contain no-repeat; } +.uploadModal-2ifh8j .icon-kyxXVr.unknown-3TPTMr::after, .uploadModal-2ifh8j .icon-kyxXVr:not(.image-2yrs5j)::after, .uploadModalIn-1z07Bv .icon-kyxXVr:not(.image-2yrs5j)::after { -webkit-mask: url('data:image/svg+xml; utf8, ') center/contain no-repeat; @@ -1040,6 +1041,25 @@ color: rgb(var(--vaccentcolor)); } +.authBox-hW6HRx img[src="/assets/0f4d1ff76624bb45a3fee4189279ee92.svg"] { + object-position: -999999px -999999px; + background: url('data:image/svg+xml; utf8, ') center/cover no-repeat; +} +.authBox-hW6HRx img[src="/assets/0f4d1ff76624bb45a3fee4189279ee92.svg"] + * { + position: relative; + display: flex; + justify-content: center; +} +.authBox-hW6HRx img[src="/assets/0f4d1ff76624bb45a3fee4189279ee92.svg"] + *::before { + content: ""; + position: absolute; + top: -107px; + width: 124px; + height: 84px; + background: rgb(var(--vaccentcolor)); + -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat; +} + .startOverButton-3q0wUV { /* authobox startover */ color: rgb(var(--vaccentcolor)); } @@ -1533,6 +1553,11 @@ /* ---- 12.5. ICONS ---- */ +img[src="/assets/f78426a064bc9dd24847519259bc42af.png"] { /* avatar clyde */ + object-position: -999999px -999999px; + background: rgb(var(--vaccentcolor)) url('data:image/svg+xml; utf8, ') center/contain no-repeat; +} + /* ---- 12.6. SCROLLBARS ---- */ .scrollerThemed-2oenus.themeLight-1_DWyY .scrollbar-2rkZSL .thumb-2JwNFC,