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

Commit

Permalink
0.2.2 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
LyubomirT committed Oct 4, 2023
1 parent 58d5821 commit bcb1f87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions content.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ color: white;
const response = await fetch('https://api.cohere.ai/v1/summarize', {
method: 'POST',
headers: {
'Authorization': 'Bearer npknXHWGCEpBMB87M5KEYZJFpeZB4uKoSN7pQXSj',
'Authorization': 'Bearer ikdrKhHFuG9jlsA9fTePLRokNhWBWftZSH6D4wgU',
'Content-Type': 'application/json'
},
body: JSON.stringify({
Expand Down Expand Up @@ -774,7 +774,7 @@ color: white;
const response = await fetch('https://api.cohere.ai/v1/summarize', {
method: 'POST',
headers: {
'Authorization': 'Bearer npknXHWGCEpBMB87M5KEYZJFpeZB4uKoSN7pQXSj',
'Authorization': 'Bearer ikdrKhHFuG9jlsA9fTePLRokNhWBWftZSH6D4wgU',
'Content-Type': 'application/json'
},
body: JSON.stringify({
Expand Down Expand Up @@ -936,7 +936,7 @@ color: white;
const response = await fetch('https://api.cohere.ai/v1/summarize', {
method: 'POST',
headers: {
'Authorization': 'Bearer npknXHWGCEpBMB87M5KEYZJFpeZB4uKoSN7pQXSj',
'Authorization': 'Bearer ikdrKhHFuG9jlsA9fTePLRokNhWBWftZSH6D4wgU',
'Content-Type': 'application/json'
},
body: JSON.stringify({
Expand Down Expand Up @@ -1062,7 +1062,11 @@ function updateSidebarWidth() {
toggleButton.style.top = "50px";
sidebar.style.zIndex = 15000;
}
fixedField.style.display = "block";
if (fixedField.style.display === "none") {
fixedField.style.display = "none";
} else {
fixedField.style.display = "block";
}
fixedField.style.position = "fixed";
fixedField.style.width = "100%";
fixedField.style.left = "0";
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "C.AI Addons",
"version": "0.2.1",
"version": "0.2.2",
"description": "A browser extension that adds some features to character.ai",
"icons": {
"16": "icon16.png",
Expand Down

0 comments on commit bcb1f87

Please sign in to comment.