Greasy Fork is available in English.

GoogleGPT 🤖

為 Google Search 添加 AI 答案(由 Google Gemma + GPT-4o 提供支援!)

< 腳本GoogleGPT 🤖的回應

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

§
發表於:2024-05-04

I am using Violentmonkey BETA 2.18.3 on iOS Orion, and it does not work whether I turn on proxy mode or turn off proxy

adamlui作者
§
發表於:2024-05-30

@dong wei thank you for your report, I fixed it can you use Proxy Mode?

§
發表於:2024-06-01

Thank you. I just successfully used it once, but the second time I tried searching, it displayed this message: "We are sorry to inform you that the website you are currently accessing is a site that is illegally using our interface, which may pose security risks and data leaks. We recommend that you stop using this website immediately and visit the free and unlimited source website https://c.binjie.fun instead. This website provides secure and reliable interface services to protect your legal rights and data privacy. Thank you for your attention."

adamlui作者
§
發表於:2024-06-01

@dong wei that is strange. Currently there are three alternate APIs, GoogleGPT randomly cycles thru them for each query, and one of them shows that error to you but not to me. In the future, I will create an API selection menu, then you can just pick the one that works best for you (but for now if you just refresh query, it will randomly pick a different one 66.67% of the time)

§
發表於:2024-06-01

@dong wei that is strange. Currently there are three alternate APIs, GoogleGPT randomly cycles thru them for each query, and one of them shows that error to you but not to me. In the future, I will create an API selection menu, then you can just pick the one that works best for you (but for now if you just refresh query, it will randomly pick a different one 66.67% of the time)

That's indeed the case. After multiple searches, most of the time this message is displayed, and only with a very small probability does the search succeed

adamlui作者
§
發表於:2024-06-01

@dong wei for now you should Ctrl+F for proxyendpoints =, then comment out the line

        [ 'https://api.binjie.fun/api/generateStream', { method: 'POST', stream: true }],

so it looks like

//         [ 'https://api.binjie.fun/api/generateStream', { method: 'POST', stream: true }],

...then it will work 100% of the time (but your custom edit will be replaced as I make more updates, then you have to re-hack it, but one of these future updates will add a API selection menu)

adamlui作者
§
發表於:2024-06-01

Actually @dong wei I just patched it so if the apology response occurs, it just tries a different API (so no hack by you necessary)

§
發表於:2024-06-02

Thank you, I commented out the line of code as you said and it's working fine now!
One more small question, I would like to know how to adjust the size of the font

adamlui作者
§
發表於:2024-06-02

@dong wei if you Ctrl+F for .googlegpt pre then there is a font-size you can tweak

§
發表於:2024-06-05

I encountered some issues again. When I open a page that requires a "?" to search for records, the search completion immediately focuses on the input box, and since I'm using iOS, my keyboard opens right away. The second issue is that I hope it can recognize the Chinese "?"

adamlui作者
§
發表於:2024-06-05

@dong wei do you mean it immediately focuses on GoogleGPT chatbar?

adamlui作者
§
發表於:2024-06-05

@dong wei I fixed both issues

§
發表於:2024-06-06

Thank you for the update, it is working well now!

adamlui作者
§
發表於:2024-06-06

you're welcome!

發表回覆

登入以回復