Giter VIP home page Giter VIP logo

Comments (7)

victrme avatar victrme commented on August 23, 2024 1

It only makes a request to Google Fonts once on the first startup, or every time you reset your settings. I'll make a change so that it only request if you try to change font.

Quick links icons are only fetched when the link is created yes.

from bonjourr.

Gitoffthelawn avatar Gitoffthelawn commented on August 23, 2024

Here is the error in the Firefox devtools console (Bonjourr UUID replaced with [UUID]):

[TIME] Uncaught (in promise) 
Exception { name: "NS_ERROR_STORAGE_CONSTRAINT", message: "", result: 2153971715, filename: "moz-extension://[UUID]/src/scripts/main.js", lineNumber: 1, columnNumber: 0, data: null, stack: "t@moz-extension://[UUID]/src/scripts/main.js:1:87601\no@moz-extension://[UUID]/src/scripts/main.js:1:88186\ncustomFont@moz-extension://[UUID]/src/scripts/main.js:1:88681\nt@moz-extension://[UUID]/src/scripts/main.js:1:105716\n" }
​
columnNumber: 0
​
data: null
​
filename: "moz-extension://[UUID]/src/scripts/main.js"
​
lineNumber: 1
​
message: ""
​
name: "NS_ERROR_STORAGE_CONSTRAINT"
​
result: 2153971715
​
stack: "t@moz-extension://[UUID]/src/scripts/main.js:1:87601\no@moz-extension://[UUID]/src/scripts/main.js:1:88186\ncustomFont@moz-extension://[UUID]/src/scripts/main.js:1:88681\nt@moz-extension://[UUID]/src/scripts/main.js:1:105716\n"
​
<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }
main.js:1

from bonjourr.

victrme avatar victrme commented on August 23, 2024

I have never seen this error message, but it seems to be linked to your firefox profile not able to sync. this post and this one too might have a fix !

As for Bonjourr, you can delete your its storage with deleteBrowserStorage() in the console.

from bonjourr.

Gitoffthelawn avatar Gitoffthelawn commented on August 23, 2024

Thank you for the links. I'll read the linked content. Note that I have syncing completely disabled within Firefox. I also don't even have an account assigned to the Firefox profile (and never have). Could Bonjourr be trying to read/write/sync data when it's not possible or something like that?

The other day, I took a look at the Bonjourr JavaScript code at the error position, and that position in the code relates to Google fonts. By any chance, is Bonjourr trying to sync an entire font and running out of storage space?

Is there any console command to force open the Bonjourr settings pane, display all the stored settings, or export them? Before I clear everything, I would like to perform an export. It was actually the reason why I was going into settings when it suddenly stopped working.

It's ironic that I left Tabliss because of it losing settings, and now Bonjourr is having a settings-related issue! 😢

from bonjourr.

Gitoffthelawn avatar Gitoffthelawn commented on August 23, 2024

I took a closer look at what is going on. Bonjourr is trying to save and sync a massive amount of data regarding Google fonts. The data is piling up in webappsstore.sqlite. It's now reached over 740KB!

An examination with an SQLite database management application confirms that no other extension has any data stored in webappsstore.sqlite... it's only Bonjourr.

A simple solution is to ditch all use of Google Fonts. The user will have their preferred fonts already installed, and Bonjourr shouldn't be making non-disclosed connections to a data collection company like Google.

from bonjourr.

victrme avatar victrme commented on August 23, 2024

I don't know how to reproduce this error message but since your webappsstore.sqlite data is exactly the size of the list of Google Fonts, I guess that using localStorage in an extension on firefox could cause this issue.

We're still going to this API. Despite being from Google, it is very simple and doesn't track users or have any telemetry. I agree though that we should have a privacy policy disclosing it.

Using the build-in storage from the extension or just the browser cache would definitely solve this. A fix will be available for the next update early next month.

from bonjourr.

Gitoffthelawn avatar Gitoffthelawn commented on August 23, 2024

How often / under what conditions does Bonjourr currently make connections to Google?

On a related note, how often does Bonjourr check for new Quick Links favicons? Or is it just 1 time when the Quick Link is initially created?

from bonjourr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.