Google Search Custom Sidebar

Customizable Google Search sidebar: quick filters (lang, time, filetype, country, date), site search, Verbatim & Personalization tools.

< Feedback on Google Search Custom Sidebar

Review: Good - script works

§
Posted: 2025-05-17

It is a masterpiece!

Request for "Settings > Custom > Manage file Types > My Custom File Type:"
Could you manage multiple file types with the OR operator?
I mean a for a text adding more file types
ie "Text = Documents" and "Value = doc, docx, pdf"
and get "filetype:doc OR filetype:docx OR filetype:pdf"

Thank you!

§
Posted: 2025-05-17

Thanks for your feedback! This feature would be quite useful if it could be implemented. Unfortunately, after testing, the method of combining multiple file types seems ineffective. Neither combining the URL parameter as_filetype nor using the search terms filetype: OR filetype: achieved the expected results; it seems to only provide results for a single file type.

§
Posted: 2025-05-20

In my tests combining "filetype: with OR" provides results with multiple filetypes.

Here there is an example of search:

https://www.google.com/search?q=internal+audit+filetype%3Adoc+OR+filetype%3Appt&cr=countryIT

It retrieves in pages 1 and 2 both doc and ppt files.

Thank you

§
Posted: 2025-05-20
Edited: 2025-05-20

Thanks for the clue!

The search result URLs you provided prove that multiple "Filetypes" indeed work.

I will add support for custom options in the next update, and also provide a selectable combination feature similar to the Site Search.

§
Posted: 2025-05-21

The new version has added features for file type combination and multiple selection. You may need to manually update your UserScript or reset settings for these new features to take effect.

§
Posted: 2025-05-23
Edited: 2025-05-23

I tested your new version....
...there is an issue due to bracket

https://www.google.com/search?q=internal+audit+filetype%3Adoc+OR+filetype%3Appt&cr=countryIT

It retrieves in pages 1 and 2 both doc and ppt files.

but

https://www.google.com/search?q=internal+audit+(filetype:doc+OR+filetype:ppt)&cr=countryIT

Recovers only DOC files

Adding bracket seems to break the search of multiple types

thanks

§
Posted: 2025-05-23

In my tests, combined file types with brackets work, and when the brackets are removed, the order and quantity of the search results are slightly different. I will further research which method is most reliable or look into adding an option to make the brackets optional.

Thanks for your feedback.

Post reply

Sign in to post a reply.