jdev082 / freecat

The FreeCat Web Browser
Other
5 stars 5 forks source link

FreeCat Broken, fix not found yet. #3

Closed jdev082 closed 2 years ago

jdev082 commented 2 years ago

The problem is in js/dynamic.js When I type in the search bar and click the "go" button, It does nothing, must be a JS error.

webdev03 commented 2 years ago

VS Code is giving errors because fc:settings and fc:home aren't defined... how do those values work?

webdev03 commented 2 years ago

Yeah I think you need to make fc:settings a string "fc:settings" also with the other one. Also change the constant in https://github.com/JaydenDev/freecat/blob/main/src/js/dynamic.js#L2 to let wsite = document.getElementById("searchbox").value and Lines 4 and 7 of that file without the const prefix. Also on Line 7 you confused the - and the = symbols I think

jdev082 commented 2 years ago

Your requested fixes have not worked

jdev082 commented 2 years ago

Firefox mistakes "fc:settings" and "fc:home" to be protocol related. Which may be the issue

jdev082 commented 2 years ago

That issue was resolved. However it now redirects to src/fc-home.html when it should go to src/home.html

jdev082 commented 2 years ago

Whenever anything is in the search box, it redirects to src/fc-home.html instead of where its supposed to go

webdev03 commented 2 years ago

Firefox mistakes "fc:settings" and "fc:home" to be protocol related. Which may be the issue

I thought this is based on pywebview right? Also you are intercepting it using dynamic.js before handing it to pywebview...

Whenever anything is in the search box, it redirects to src/fc-home.html instead of where its supposed to go

I'm going to see it again

jdev082 commented 2 years ago

I can test the UI in firefox since its regular HTML/CSS/JS. I just can't test the actual browser in Firefox.

webdev03 commented 2 years ago

I can test the UI in firefox since its regular HTML/CSS/JS. I just can't test the actual browser in Firefox.

I think that you still have a syntax error: I don't think fc:home is defined so I'm going to fork this again and run it locally

jdev082 commented 2 years ago

you dont have to fork to run locally just download as a zip

jdev082 commented 2 years ago

anything in quotes doesn't have to be defined, since its a string. Only without quotes is it a variable, and has to be defined.