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

Commit 4250b76

Browse files
committed
finalize v1.0.5
1 parent 5dd6ccd commit 4250b76

File tree

9 files changed

+37
-22
lines changed

9 files changed

+37
-22
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
# Bing Chat for All Browsers
44

5-
> **Note**<br/>
6-
> **You need a Microsoft account that has access to the new Bing Chat to use this extension!**
5+
> **Note**<br/> > **You need a Microsoft account that has access to the new Bing Chat to use this extension!**
76
> If you don't have access to the new Bing Chat, you can join the waitlist at [bing.com/chat](https://bing.com/chat).
87
9-
108
## [Chrome](https://chrome.google.com/webstore/detail/bing-chat-for-all-browser/jofbglonpbndadajbafmmaklbfbkggpo)
119

1210
N/A. It should work out of the box!

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"watch": "webpack --config webpack/webpack.dev.js --watch",
8-
"build": "$npm_execpath run clean && $npm_execpath run chrome && $npm_execpath run firefox && $npm_execpath run safari && $npm_execpath run zip",
8+
"build": "$npm_execpath run clean && $npm_execpath run chrome && $npm_execpath run firefox",
99
"chrome": "webpack --config webpack/webpack.chrome.js",
1010
"firefox": "webpack --config webpack/webpack.firefox.js",
1111
"safari": "xcrun safari-web-extension-converter release/firefox --swift --no-open --copy-resources --project-location safari --force --bundle-identifier sh.cho.bing-chat-for-all-browsers",

public/chrome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
}
2424
]
2525
},
26-
"permissions": ["webRequest", "declarativeNetRequest"],
26+
"permissions": ["webRequest", "declarativeNetRequestWithHostAccess"],
2727
"host_permissions": ["http://*.bing.com/*", "https://*.bing.com/*"]
2828
}

public/rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"header": "User-Agent",
1010
"operation": "set",
11-
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.100.0"
11+
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/111.0.1661.62"
1212
}
1313
]
1414
},

release/chrome.zip

330 Bytes
Binary file not shown.

release/firefox.zip

330 Bytes
Binary file not shown.

rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"header": "User-Agent",
1010
"operation": "set",
11-
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.100.0"
11+
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.61"
1212
}
1313
]
1414
},

src/background.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ On Firefox it will replace the entire user agent with a hard coded Chrome user a
1111

1212
//Microsoft Edge has two user agent suffixes, one for mobile and one for desktop
1313
const MOBILE_UA_SUFFIX = 'EdgA/110.0.1587.41'
14-
const DESKTOP_UA_SUFFIX = 'Edg/110.0.100.0'
14+
const DESKTOP_UA_SUFFIX = 'Edg/111.0.1661.62'
1515

1616
const DESKTOP_UA_PREFIX =
1717
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36'

src/popup.tsx

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ const Popup = () => {
1919
style={{
2020
backgroundColor: 'white',
2121
color: 'black',
22-
border: '1px solid rgb(156 163 175)',
22+
border: '1px solid rgb(126 133 145)',
2323
padding: '10px 20px',
2424
borderRadius: '5px',
2525
fontSize: '1rem',
2626
cursor: 'pointer',
27-
boxShadow: '0 0 0 1px rgb(156 163 175), 0 1px 3px 0 rgb(156 163 175)',
27+
boxShadow: '0 0 0 1px rgb(126 133 145), 0 1px 3px 0 rgb(126 133 145)',
2828
}}
2929
>
3030
<img src={BingIcon} style={{ width: '1rem', height: '1rem', padding: 'auto', verticalAlign: 'middle' }} />
@@ -41,44 +41,61 @@ const Popup = () => {
4141
fontSize: '0.8rem',
4242
fontWeight: 400,
4343
lineHeight: '1.5',
44-
color: 'rgb(156 163 175)',
44+
color: 'rgb(126 133 145)',
4545
}}
4646
>
47-
Found a Bug?{' '}
47+
Leave me a review for{' '}
4848
<a
4949
style={{ color: 'black', textDecoration: 'underline', cursor: 'pointer' }}
5050
onClick={() => {
5151
chrome.tabs.create({
52-
url: 'https://github.com/anaclumos/bing-chat-for-all-browsers',
52+
url: 'https://chrome.google.com/webstore/detail/bing-chat-for-all-browser/jofbglonpbndadajbafmmaklbfbkggpo',
5353
})
5454
}}
5555
>
56-
Let me know on GitHub
56+
Chrome
57+
</a>{' '}
58+
or{' '}
59+
<a
60+
style={{ color: 'black', textDecoration: 'underline', cursor: 'pointer' }}
61+
onClick={() => {
62+
chrome.tabs.create({
63+
url: 'https://addons.mozilla.org/en-US/firefox/addon/bing-chat-for-all-browsers/',
64+
})
65+
}}
66+
>
67+
Firefox
5768
</a>
58-
{'. '}
59-
Or, Leave us a review for{' '}
69+
. <br />
70+
<br />
71+
If you love my work, please check out my other open-sourced AI project,{' '}
6072
<a
6173
style={{ color: 'black', textDecoration: 'underline', cursor: 'pointer' }}
6274
onClick={() => {
6375
chrome.tabs.create({
64-
url: 'https://chrome.google.com/webstore/detail/bing-chat-for-all-browser/jofbglonpbndadajbafmmaklbfbkggpo',
76+
url: 'https://hn.cho.sh/?ref=bingchat&utm_source=bingchat&utm_medium=extension&utm_campaign=bingchat',
6577
})
6678
}}
6779
>
68-
Chrome
80+
hn.cho.sh
6981
</a>{' '}
70-
or{' '}
82+
— a free AI-summarized newsletter for tech, supporting 29 languages, including Korean, Japanese, English,
83+
Chinese and more.
84+
<br />
85+
<br />
86+
<strong>Solution for common problems.</strong> Clear Cache and Cookies on Bing. Disable VPN or Adblock on Bing.
87+
Make sure you are logged-in with Microsoft account with Bing Chat enabled. If you still have problems,{' '}
7188
<a
7289
style={{ color: 'black', textDecoration: 'underline', cursor: 'pointer' }}
7390
onClick={() => {
7491
chrome.tabs.create({
75-
url: 'https://addons.mozilla.org/en-US/firefox/addon/bing-chat-for-all-browsers/',
92+
url: 'https://github.com/anaclumos/bing-chat-for-all-browsers',
7693
})
7794
}}
7895
>
79-
Firefox
96+
Let me know on GitHub
8097
</a>
81-
. Thank you!
98+
{'. '}
8299
</p>
83100
</>
84101
)

0 commit comments

Comments
 (0)