Google Search Extra Buttons

Add buttons (past 1/2/3 days, weeks, PDF search etc.) for Google search page

< Spätná väzba na Google Search Extra Buttons

Hodnotenie: OK - skript funguje, ale má chyby

Looks broken with google official dark theme

spmbtAutor
§
Pridaný: 12.12.2021
Upravený: 12.12.2021

Hi! Thanks for note!

OK, colors of buttons are not ideal in dark theme now. After some time I'll update styyles for dark mode.

Unfortunately, Google not set class for dark mode, but set styles body{background:#202124}body,input,button{font-size:14px;font-family:arial,sans-serif;color:#bdc1c6} and other only.

Question for users. Do you know, how to detect dark mode of Google Search?

for now to make it more readable you can search for "//opacity for suggests" in the code and remove that line or just add "//" at the front
and for the next line below that you can change the value of background color to (99, 102, 114, 0.9) or something else
and then for the next line below that you can remove "background:rgba(255, 255, 255, 0.9)"

spmbtAutor
§
Pridaný: 21.08.2022

Riztard Lanthorn: Thanks. Your change is good for Google dark mode and compatible with light. I ugrade script with your requests.

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.