Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from anaclumos/new-tab-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anaclumos committed Feb 21, 2023
2 parents 45ad8e3 + 349c29c commit 7cdaa2e
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 26 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "bing-chat-for-all-browsers",
"version": "1.0.3",
"version": "1.0.4",
"description": "bing-chat-for-all-browsers",
"main": "index.js",
"scripts": {
"watch": "webpack --config webpack/webpack.dev.js --watch",
"build": "$npm_execpath run clean && webpack --config webpack/webpack.chrome.js & webpack --config webpack/webpack.firefox.js",
"build": "$npm_execpath run clean && webpack --config webpack/webpack.chrome.js && webpack --config webpack/webpack.firefox.js",
"clean": "rimraf release",
"test": "npx jest",
"style": "prettier --write \"**/*.{ts,tsx,json,js,jsx,css,scss,html,md}\"",
Expand Down
2 changes: 1 addition & 1 deletion public/chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Bing Chat for All Browsers",
"description": "Bing Chat for All Browsers",
"version": "1.0.3",
"version": "1.0.4",
"icons": {
"16": "icon16.png",
"32": "icon32.png",
Expand Down
2 changes: 1 addition & 1 deletion public/firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Bing Chat for All Browsers",
"description": "Bing Chat for All Browsers",
"version": "1.0.3",
"version": "1.0.4",
"background": {
"scripts": ["js/background.js"]
},
Expand Down
Binary file modified release/chrome.zip
Binary file not shown.
Binary file modified release/firefox.zip
Binary file not shown.
47 changes: 27 additions & 20 deletions src/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ const Popup = () => {
return (
<>
<a
href="https://bing.com/chat"
target="_blank"
rel="noreferrer noopener nofollow"
style={{ textDecoration: 'none' }}
style={{ textDecoration: 'none', cursor: 'pointer' }}
onClick={() => {
chrome.tabs.create({
url: 'https://bing.com/chat',
})
}}
>
<div style={{ display: 'grid', placeItems: 'center', width: '300px', height: '100px' }}>
<button
Expand Down Expand Up @@ -44,34 +46,39 @@ const Popup = () => {
>
Found a Bug?{' '}
<a
href="https://github.com/anaclumos/bing-chat-for-all-browsers"
target="_blank"
rel="noreferrer noopener nofollow"
style={{ color: 'black', textDecoration: 'underline' }}
style={{ color: 'black', textDecoration: 'underline', cursor: 'pointer' }}
onClick={() => {
chrome.tabs.create({
url: 'https://github.com/anaclumos/bing-chat-for-all-browsers',
})
}}
>
Let me know on GitHub
</a>
{'.'}
<br />
Leave us a review for{' '}
{'. '}
Or, Leave us a review for{' '}
<a
href="https://chrome.google.com/webstore/detail/bing-chat-for-all-browser/jofbglonpbndadajbafmmaklbfbkggpo"
target="_blank"
rel="noreferrer noopener nofollow"
style={{ color: 'black', textDecoration: 'underline' }}
style={{ color: 'black', textDecoration: 'underline', cursor: 'pointer' }}
onClick={() => {
chrome.tabs.create({
url: 'https://chrome.google.com/webstore/detail/bing-chat-for-all-browser/jofbglonpbndadajbafmmaklbfbkggpo',
})
}}
>
Chrome
</a>{' '}
or{' '}
<a
href="https://addons.mozilla.org/en-US/firefox/addon/bing-chat-for-all-browsers/"
target="_blank"
rel="noreferrer noopener nofollow"
style={{ color: 'black', textDecoration: 'underline' }}
style={{ color: 'black', textDecoration: 'underline', cursor: 'pointer' }}
onClick={() => {
chrome.tabs.create({
url: 'https://addons.mozilla.org/en-US/firefox/addon/bing-chat-for-all-browsers/',
})
}}
>
Firefox
</a>
.
. Thank you!
</p>
</>
)
Expand Down

0 comments on commit 7cdaa2e

Please sign in to comment.