Google 搜尋自訂側邊欄

Google 搜尋自訂側邊欄:快速篩選(語言、時間、檔案類型、國家、日期)、站內搜尋、一字不差與個人化工具。

< 腳本Google 搜尋自訂側邊欄的回應

評論:正評 - 腳本一切正常

§
發表於: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!

§
發表於: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.

§
發表於: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

§
發表於:2025-05-20
編輯: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.

§
發表於: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.

§
發表於:2025-05-23
編輯: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

§
發表於: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.

發表回覆

登入以回覆

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址