Skip to content

Commit

Permalink
Merge branch 'main' into disable-search-engine
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Jul 30, 2024
2 parents 3e0e5d7 + 734638c commit 23128a2
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 90 deletions.
2 changes: 1 addition & 1 deletion lib/chrome/chromeDevtoolsProtocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class ChromeDevtoolsProtocol {
for (let cookieParts of cookies) {
const parts = new Array(
cookieParts.slice(0, cookieParts.indexOf('=')),
cookieParts.slice(cookieParts.indexOf('=') + 1, cookieParts.length)
cookieParts.slice(cookieParts.indexOf('=') + 1)
);
await this.cdpClient.Network.setCookie({
name: parts[0],
Expand Down
2 changes: 1 addition & 1 deletion lib/firefox/firefoxBidi.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class FirefoxBidi {
for (let cookieParts of cookies) {
const parts = new Array(
cookieParts.slice(0, cookieParts.indexOf('=')),
cookieParts.slice(cookieParts.indexOf('=') + 1, cookieParts.length)
cookieParts.slice(cookieParts.indexOf('=') + 1)
);

const params = {
Expand Down
Loading

0 comments on commit 23128a2

Please sign in to comment.