Skip to content
This repository was archived by the owner on Apr 27, 2024. It is now read-only.

Commit bcb1f87

Browse files
committed
0.2.2 Update
1 parent 58d5821 commit bcb1f87

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

content.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ color: white;
603603
const response = await fetch('https://api.cohere.ai/v1/summarize', {
604604
method: 'POST',
605605
headers: {
606-
'Authorization': 'Bearer npknXHWGCEpBMB87M5KEYZJFpeZB4uKoSN7pQXSj',
606+
'Authorization': 'Bearer ikdrKhHFuG9jlsA9fTePLRokNhWBWftZSH6D4wgU',
607607
'Content-Type': 'application/json'
608608
},
609609
body: JSON.stringify({
@@ -774,7 +774,7 @@ color: white;
774774
const response = await fetch('https://api.cohere.ai/v1/summarize', {
775775
method: 'POST',
776776
headers: {
777-
'Authorization': 'Bearer npknXHWGCEpBMB87M5KEYZJFpeZB4uKoSN7pQXSj',
777+
'Authorization': 'Bearer ikdrKhHFuG9jlsA9fTePLRokNhWBWftZSH6D4wgU',
778778
'Content-Type': 'application/json'
779779
},
780780
body: JSON.stringify({
@@ -936,7 +936,7 @@ color: white;
936936
const response = await fetch('https://api.cohere.ai/v1/summarize', {
937937
method: 'POST',
938938
headers: {
939-
'Authorization': 'Bearer npknXHWGCEpBMB87M5KEYZJFpeZB4uKoSN7pQXSj',
939+
'Authorization': 'Bearer ikdrKhHFuG9jlsA9fTePLRokNhWBWftZSH6D4wgU',
940940
'Content-Type': 'application/json'
941941
},
942942
body: JSON.stringify({
@@ -1062,7 +1062,11 @@ function updateSidebarWidth() {
10621062
toggleButton.style.top = "50px";
10631063
sidebar.style.zIndex = 15000;
10641064
}
1065-
fixedField.style.display = "block";
1065+
if (fixedField.style.display === "none") {
1066+
fixedField.style.display = "none";
1067+
} else {
1068+
fixedField.style.display = "block";
1069+
}
10661070
fixedField.style.position = "fixed";
10671071
fixedField.style.width = "100%";
10681072
fixedField.style.left = "0";

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "C.AI Addons",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"description": "A browser extension that adds some features to character.ai",
66
"icons": {
77
"16": "icon16.png",

0 commit comments

Comments
 (0)