Google Search Extra Buttons (Position Slightly Right)

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

ئاپتورى
Bryan “Ironman” Stark
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
131
باھا نومۇرى
2 0 0
نەشرى
45.2023.10.08
قۇرۇلغان ۋاقتى
2023-10-08
يېڭىلانغان ۋاقتى
2023-10-08
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Google Search Extra Buttons (Position Further Right)


Fork of Google Search Extra Buttons.

This is slightly changed from Google Search Extra Buttons to move it further to the right.


2023-10-08: Reformatted script w/Prettier+, and edited csList function to use constant values to change the vertical position of the buttons slightly more to the right than previous.

Add buttons of customized search to start page and results page of Google.
(Fx, Chrome, Opera12+, Safari, MS Edge + Win10 + Tampermonkey), Vivaldi, KMeleon, Yandex, Brave

NOTE 2022-08: 1) for working in Images tab in Chrome it need install extension whiсh disable CSP (Content Security Policy) else breaks by JS error. (It's not required for common search.)
NOTE: 2) G. Search in images restrict past intervals! Only day|week|month|year.
3) WxH (show sizes) function is removed, so button is changed to B/W.

2022-08-22: Google Dark Theme support (in input field);
2018-12-11: White-Mint-Oval design (as default), blue old design as additional;
2018-12-05..11: start page with buttons is repaired; fix img search; hide buttons in shop|boks|finance;
2018-11-30..12-4: search by up to 30 filetypes; images search by types and Show Sizes checkbox;
2018-11-19: by changes of layout (classes and logic) of results page (TODO start page, 'pdf+enter+next' bug); (when search with filetype:pdf then search by Enter key without pdf (appears 'filetype:pdf'))
2017-12-12: transitions in fading columns; some style modifications.
2017-03-11: change constructor Tout() to short function SC() (decelerating timeout - refactoring).
2016-12-12: gray design of buttons on the pages with new desing of Google. 2016-12-07: fixes for compatibility of new design of input fields; old format is supported also.
2016-01-17: fix autostart after select of site; switch of checkbox.

Hosting: greasyfork.org: Google Search Extra Buttons

  • Fx - script installed by GreaseMonkey or Tampermonkey (addons for userscripts);
  • Chrome - immediately (on the page chrome://extensions/ it placed as unpacked script in "developer mode"; directory sholuld be contain manifest.json; or by other methods (Tampermonkey));
  • Opera - save userscript in file placed in Opera directory... ( there are instructions );
  • Safari - installed by Tampermonkey for Safari.

Script adds 8 types of buttons that doubled links hidden in:

  • change interface language (en(default), fr, ru, de, es) in Settings area;
  • search PDF, DOC docs;
  • search in site (from list; if no list in settings (or commented in code), this button is not displayed);
  • write list of your favorite sites in code (example: ['slashdot.org','digg.com']);
  • search in interval of dates (fast opening of Google inteface);
  • search for 1,2..13 last days;
  • search for 1,2..10 last weeks;
  • search for 1,2..11 last months;
  • search for 1,2..10 last years;
  • search for 1,2..22 last hours;
  • multilanguage interface by settings in navigator.language or in script: ('en' is default or on undescribed language);
  • remove lang in settings for no hints (interface language will be English).
  • save settings (language and sites list) in the external localStorage (google clean own storage), copy list as text.
  • keep type of current page ('tbm=' parameter) - news, pictures, video etc.
  • hide first button (File Types in search) in Settings
  • hide second button ("site") if you clean sites list and change any another setting (formally for save)

This script is based on BarsMonster article (ru) .

Screenshots:

Search with extra buttons

List for search in sites (old version with 6 buttons)

List for search in sites in dark header style of page

Version from 9/9/2015: more buttons

Version from 12/12/2016: new design of Google search page and new design of exta buttons:

Version from 12/12/2016: new design of Google search

Version from 12/12/2016: new 3rd design - main page