Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion on what needs to be changed #315

Open
Notrackker opened this issue Dec 9, 2023 · 3 comments
Open

Suggestion on what needs to be changed #315

Notrackker opened this issue Dec 9, 2023 · 3 comments

Comments

@Notrackker
Copy link

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

@Notrackker
Copy link
Author

Notrackker commented Dec 11, 2023

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
Copy link
Author

Notrackker commented Dec 11, 2023

...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
Copy link
Author

Notrackker commented Dec 11, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant