Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Downloading from google fonts

Hi,

we are running a number of small experiments. One problem is, that OSWeb always downloads some fonts directly from google and I don't see way to prevent this behavior.

I have attached a screenshot, where you can see the network analysis and the connections to google.

I tried to replace all font commands from mono to inconsolata, but did not have any success.

Do you have any idea how to avoid the download of fonts and the exclusive use of fonts from the filepool?

Thank you psych_programmer

Comments

  • Hi @psych_progammer ,

    That's correct, the fonts are pulled from the Google Font server. This is hard-coded in OSWeb, so there is no way to prevent this. Why would you want to prevent this, though? Are you afraid of participants being tracked by Google?

    — Sebastiaan

  • edited June 2022

    Hi,

    our Data Protection Officer requires a offical contract with google, as soon as we send a tiny information (e.g. the participants' IP-Adress) and we have to include a statement what google intends to do with the data in our informed consent. Including the information that we send data to google it in our consent form would probably reduce the intrest in participation for the experiment.

    I have removed the lines from transfer.js

    // Read in and generate the webfonts
    awaitthis._readWebFonts() 
    
    

    which loads the web fonts and created my own version of OSweb. As a consequence the system default font is used which is not a problem in this particular experiment.

    A real solution would be to change the function _readWebFonts that it offers the option to load local fonts.

    psych_programmer

Sign In or Register to comment.