zen-browser / www

🌐 Homepage for @zen-browser!
https://www.zen-browser.app/
309 stars 100 forks source link

Unable to install themes from website #118

Closed Rasmus-Bertell closed 2 months ago

Rasmus-Bertell commented 2 months ago

Browsing the themes works fine but actually clicking the install button does nothing. I get no console errors nor internet traffic but the button becomes disabled.

image

Rasmus-Bertell commented 2 months ago

Looked at the event attached to the button and interestingly not even the console.info line is printed to the console.

function(event) {
  const button = event.target;
  button.disabled = true;
  const themeId = button.getAttribute("zen-theme-id");
  console.info("ZTM: Installing theme with id: ", themeId);

  const theme = await this.getThemeInfo(themeId);
  if (!theme) {
    console.error("ZTM: Error fetching theme info");
    return;
  }
  this.addTheme(theme);
}
danm36 commented 2 months ago

Install button worked for me on browser 1.0.0-a.29 but no longer works on 1.0.0-a.30. Then again, I also wasn't getting the Vercel 403 issues either when I was on 1.0.0-a.29 and that was a couple of hours ago, so it could also be site related.

mauro-balades commented 2 months ago

The website is currently under a DDoS attack, please hold on until I fix it