mozilla-extensions / news-disinformation-study

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

News and Disinformation Study

A research project on how web users consume, are exposed to, and share news.

Requirements

Architecture

See the Web Science repository for a description of the overall structure, including the common study modules. This repository contains the study component, described below.

Study - /study/

The study includes logic and data specific to this research project. This is, by design, the lightest component—the overwhelming majority of our implementation is not study specific, in order to promote reusability and facilitate rapid study development.

Running the Extension

Launch an instance of Firefox with a temporary profile using web-ext run in the extension directory. To submit encrypted pings through the Ion Platform, run on a Nightly build with the extensions.experiments.enabled pref set, for example: web-ext run --pref=extensions.experiments.enabled=true -f nightly.

Debugging the Extension

Debugging output is available in Tools → Web Developer → Browser Console. Make sure that the Show Content Messages option is checked. You might find it helpful to set a filter for debugging messages of interest.

The repository also contains configuration files for convenient debugging in Visual Studio Code:

If you open the repository base directory in Visual Studio Code, these files will automatically load.

About


Languages

Language:JavaScript 99.2%Language:HTML 0.7%Language:CSS 0.1%Language:Makefile 0.1%