Google vs. Perplexity Chrome Extension

cybermango1 pts1 comments

GitHub - sarons/dual-ai-chat: A Chrome extension that lets you chat with Gemini and Perplexity simultaneously. Type once, send to both, and cross-verify answers between them. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

sarons

dual-ai-chat

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>4 Commits<br>4 Commits

.gitignore

.gitignore

LICENSE

LICENSE

README.md

README.md

anti-framebusting.js

anti-framebusting.js

background.js

background.js

content-gemini.js

content-gemini.js

content-perplexity.js

content-perplexity.js

dual-chat.html

dual-chat.html

dual-chat.js

dual-chat.js

manifest.json

manifest.json

rules.json

rules.json

View all files

Repository files navigation

Dual AI Chat

A Chrome extension that lets you chat with Gemini and Perplexity simultaneously. Type once, send to both, and cross-verify answers between them.

Demo

demo-dual-chat.mp4

Features

Split-screen layout — Gemini loads in an iframe on the left, Perplexity opens as a side-by-side window on the right. Windows are auto-positioned to fill your screen.

Unified chat input — Type a message once and it's sent to both AIs simultaneously.

Cross-verify responses — Each AI response gets a "Verify" button that sends it to the other AI with "Is this true?" to fact-check.

No API keys needed — Uses the free web interfaces of both services directly.

Installation

This is a personal-use extension (not published to the Chrome Web Store).

Clone the repo:<br>git clone git@github.com:sarons/dual-ai-chat.git

Open chrome://extensions in Chrome

Enable Developer mode (toggle in top-right)

Click Load unpacked and select the dual-ai-chat folder

Click the extension icon in your toolbar

Usage

Click the extension icon — Opens the Gemini iframe and auto-creates a Perplexity window beside it.

Type in the chat bar at the bottom and press Enter — Both AIs receive your message.

Click "Verify" on any AI response to send it to the other AI for fact-checking.

Shift+Enter for multi-line messages.

How it works

Component<br>Purpose

manifest.json<br>Extension config, permissions, content script registration

background.js<br>Opens the extension page, routes cross-verify messages between tabs

dual-chat.html/js<br>Main UI — Gemini iframe, Perplexity status bar, chat input

content-gemini.js<br>Adds "Verify" buttons to Gemini responses

content-perplexity.js<br>Adds "Verify with Gemini" buttons to Perplexity responses

anti-framebusting.js<br>Allows Gemini to load inside an iframe

rules.json<br>Strips X-Frame-Options / CSP headers from Google domains

Limitations

Perplexity runs in a separate window — Chrome's CSP enforcement prevents embedding it in an iframe. The extension auto-positions both windows side by side.

DOM selectors may break — Both sites update their UI periodically. If message injection or verify buttons stop working, the content script selectors may need updating.

Not suitable for Chrome Web Store — Stripping security headers and automating third-party sites would violate store policies. This is designed for personal use only.

License

MIT

About

A Chrome extension that lets you chat with Gemini and Perplexity simultaneously. Type once, send to both, and cross-verify answers between them.

Resources

Readme

License

MIT license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

JavaScript<br>78.3%

HTML<br>21.7%

You can’t perform that action at this time.

chat perplexity gemini dual extension verify

Related Articles