Skip to content

Suggestion on what needs to be changed #315

Open
@Notrackker

Description

@Notrackker

I am not clued up with electron and its packaging, but can any one replace
const bingUrl = `https://edgeservices.bing.com/edgediscover/query?&${
with
https://edgeservices.bing.com/edgesvc/chat

and also make necessary changes

Activity

Notrackker

Notrackker commented on Dec 11, 2023

@Notrackker
Author

some how I was able to edit app.asar (packeged file, like winrar or winzip) using 7-zip "https://github.com/daemondevin/7-ZipPortable"; then download the 7-zip Plugin "https://www.tc4shell.com/en/7zip/asar/"
The Asar7z distribution package is an ordinary Zip archive that contains the following three files:
Asar.64.dll – the 64-bit version of the plugin
Asar.32.dll – the 32-bit version of the plugin
ReadMe.txt – the user instructions

Notrackker

Notrackker commented on Dec 11, 2023

@Notrackker
Author

...after editing 'main.js' within 7-Zip having installed the Asar Plugin (by right clicking and selecting edit)
It seems that after changing the Url to 'bingUrl = "https://edgeservices.bing.com/edgesvc/chat"' as indicated in the below snippet; the BingChat Login will happen within the APP not externally; and after login internally its nearly impossible to return to the main Url.

// Load Bing
const bingUrl = `https://edgeservices.bing.com/edgediscover/query?&${

TO:
// Load Bing
const bingUrl = `https://edgeservices.bing.com/edgesvc/chat?&${

AND FROM
// Get cookies
mainWindow
.loadURL(bingUrl.replace('edgediscover/query', 'edgesvc/shell'))
TO:
mainWindow
.loadURL(bingUrl.replace('edgesvc/chat', 'edgesvc/shell'))

[CODE SNIPPET-END]]

What's wrong with the code? It seems as the login happens within the app (not externally using the default browser) ; then somehow, we have to get it to the main chat page :( that will be challenging

Notrackker

Notrackker commented on Dec 11, 2023

@Notrackker
Author

GUYS LETS TRY TO MAINTAIN THIS APP,
I DONT KNOW MUCH ABOUT PROGRAMMING BUT COMPLAINING WON'T HELP

I KNOW THERE ARE GIFTED PROGRAMMERS OUT THERE, PLEASE HELP FIX THIS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Notrackker

        Issue actions

          Suggestion on what needs to be changed · Issue #315 · dice2o/BingGPT