Live data from Hacker News

Show HN: Chrome extension to display ChatGPT response besides Google Search

github.com

31–40 of 156 posts

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#31

This is very creative. Thing to note is that this is not free (or at least it is likely not to be, OpenAI is charging for APIs). We are talking about ~1c per search looking at current GPT pricing (2c per ~750 words in/out). It is also indiscriminate deployed in this way, triggering for every search, even those that chatgpt will show suboptimal responses for, like 'starbucks near me', navigational queries like 'twitte…

Hey wow, it's the Kagi guy. Offtopic, sorry: I love Kagi. I would say 85% of my searches I stick with it, 15% I tuck tail and head to that one big search engine. Pretty phenomenal IMO, and I have no doubt it will get better. Keep it up!

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#34

Can we change the title to a "Chrome extension ..." since this is not available for Firefox et al. ?

Waiting for someone to ask ChatGPT to make a Firefox version of this extension...

> You are a chat bot that rewrites Chrome extensions for other browsers...

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#35
The future is likely a GPT-plus-level model, browsing-enabled, specialized in formulating queries, reading snippets and the underlying web-pages.

It'll take a single expressed intent, and conducts a series of queries, page-readings, refined queries, & rerankings/summarizations before providing you a synthesized response.

In a second or two.

With ads.

And deeply-embedded 'sponsored recommendations'.

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#36
post #35

The future is likely a GPT-plus-level model, browsing-enabled, specialized in formulating queries, reading snippets and the underlying web-pages. It'll take a single expressed intent, and conducts a series of queries, page-readings, refined queries, & rerankings/summarizations before providing you a synthesized response. In a second or two. With ads. And deeply-embedded 'sponsored recommendations'.

I think the most interesting use will be to connect two things. Like "how do i make money from reciting medieval poetry". It hallucinates ways to connect the two, some of which are pretty credible

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#37
As a side note, I tried to use ChatGPT to collaboratively build a Chrome extension. It seemed a little out of date, preferring Manifest V2 and also not entirely "correct" in how it generated code to match my intent.

Has anyone else tried and had luck with this? I wonder if ChatGPT will be limited for niche integration type code (Modding games maybe, Chrome extensions in this example, etc) where there are not as many code examples out there.

Further, the development cycle and ability to test easily for some of these integrations is itself a barrier so I wouldn't put all the blame on the language models.

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#38
post #24

Earlier quoted context omitted.

It does? I hooked up GPT3 to my discord server and can't really tell the difference in quality.

I assumed the ChatGPT3 enhancement is that they added memory of the dialogue to it? That's a huge improvement over one off questions and answers. You can tell it to correct its answers and ask follow up questions.

I wonder myself if the "memory" is just inputting the previous dialogue as input to every subsequent query. I think this would probably get quite slow after awhile however.

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#39

Earlier quoted context omitted.

Waiting for someone to ask ChatGPT to make a Firefox version of this extension...

> You are a chat bot that rewrites Chrome extensions for other browsers...

You are a chat bot that rewrites Chrome extensions to firefox, how would you rewrite the following code? https://github.com/wong2/chat-gpt-google-extension

To convert the code from the GitHub repository you provided into a format that is compatible with Firefox, the following steps could be taken:

    Replace instances of "chrome" with "browser" in the code. In the Chrome extension API, the "chrome" namespace is used to access various features and functionality, but in Firefox, this namespace is replaced with "browser". Therefore, all instances of "chrome" in the code would need to be replaced with "browser" to ensure that the code is compatible with Firefox.

    Replace any references to Chrome-specific APIs with their Firefox equivalents. The Chrome extension API includes a number of features and APIs that are specific to Chrome, and these would need to be replaced with the corresponding Firefox APIs in order to ensure that the code is compatible with Firefox.

    Update the manifest file to use the correct format for Firefox. The manifest file is a JSON file that specifies various metadata and configuration information for the extension, and the format of this file is different for Chrome and Firefox. Therefore, the manifest file in the code would need to be updated to use the correct format for Firefox.

    Test the code to ensure that it is functioning properly in Firefox. Once the code has been converted and updated to be compatible with Firefox, it would be necessary to test the code to ensure that it is functioning properly in Firefox and that all of the desired features and functionality are working as expected. This may involve installing the extension in Firefox and testing it with a variety of inputs and scenarios to ensure that it is working properly.
Overall, these steps would involve significant modifications to the code in order to make it compatible with Firefox. However, by following these steps and carefully reviewing and testing the code, it should be possible to convert the code

Re: Show HN: Chrome extension to display ChatGPT response besides Google Search

#40
post #9

I started trying to use ChatGPT instead of google for a lot of my queries. The tricky part is unlearning how to search. For instance, I had a timestamp 2022-11-27 00:00:00.000 and wanted to display it in local string. The problem was (depending on your time zone) if you do new Date("2022-11-27 00:00:00.000").toLocaleString(), you get 11/26/2022 So I would have googled something like "pass timezone to toLocaleString",…

> The tricky part is unlearning how to search.

Hum I'd argue that you've never learned how to search.

I would have searched for "javascript date to string in specific timezone", and it would have given the following result, which is exactly what ChatGPT gives: https://stackoverflow.com/questions/10087819/convert-date-to...

Actually, if you already know that you can pass a timezone to toLocaleString(), I would just go on the documentation of the function: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

I'm starting to understand why there are so many people on HN claiming that "Google has started to give me bad results in recent years".

Post reply on HN