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

مراجعة: Good - script works

§
Posted: 17-05-2025

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!

StonedKhajiitمؤلف
§
Posted: 17-05-2025

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: 20-05-2025

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

StonedKhajiitمؤلف
§
Posted: 20-05-2025
Edited: 20-05-2025

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.

StonedKhajiitمؤلف
§
Posted: 21-05-2025

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: 23-05-2025
Edited: 23-05-2025

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

StonedKhajiitمؤلف
§
Posted: 23-05-2025

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

تسجيل الدخول إلى مرحلة ما بعد الرد.