Google Search Custom Sidebar

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

< Commentaires sur Google Search Custom Sidebar

Avis: Bon - le script fonctionne correctement

§
Posté le: 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!

§
Posté le: 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.

§
Posté le: 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

§
Posté le: 2025-05-20
Édité le: 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.

§
Posté le: 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.

§
Posté le: 2025-05-23
Édité le: 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

§
Posté le: 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.

Poster une réponse

Connectez-vous pour poster une réponse.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

一年攒够 12 元

云驰互联

云驰互联