Add buttons (past 1/2/3 days, weeks, PDF search etc.) for Google search page
< Feedback em Google Search Extra Buttons
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)"
Riztard Lanthorn: Thanks. Your change is good for Google dark mode and compatible with light. I ugrade script with your requests.
Looks broken with google official dark theme