23 Matching Annotations
  1. Sep 2020
    1. There are clever ways around trackers

      I also recommend switching to FIrefox, getting the Facebook container extension and Privacy Badger extension!

  2. Apr 2020
    1. A settings page gives users a way to see and change settings (sometimes also called "preferences" or "options") for the extension.

      Topic: How to save settings in firefox extension.

    1. Webpack is a most have to compile a complete JavaScript project.

      Test question: how do you pack the web extension?

    2. linter

      Test question: What is a linter?

      Answer (Wikipedia): lint, or a linter, is a tool that analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs.[1] The term originates from a Unix utility that examined C language source code.[2]

    3. This tool accepts both a configuration file and line parameters.

      Test question: How can you configure web-ext?

    1. you create an HTML file and point to it using a specific property in manifest.json. The HTML file can include CSS and JavaScript files, just like a normal web page.

      Test question: How do you link in manifest.json sidebar, popup and options page?

    1. It should be 48x48 pixels.

      Test question: What is the recommendes size of the icon for the firefox extension?

    2. "48": "icons/beasts-48.png"

      Test quesiton: Why is there no "," at the end of the line?

    3. [

      Square brackets are used for arrays.

    4. ,

      Not to forget the "," at the end of { } block in json.

    5. The popup

      Question: How to create popup and what do I need for creating this? Answer: 3 files: html, css, js

    1. Extensions for Firefox are built using the WebExtensions APIs, a cross-browser system for developing extensions.

      Testing question: How compatible are extensions among Web Browsers?

    1. The most interesting key here is content_scripts, which tells Firefox to load a script into

      Testing question: What part of "manifest.json" tells firefox where is the script to load?

    2. description is optional, but recommended: it's displayed in the Add-ons Manager. icons is optional, but recommended: it allows you to specify an icon for the extension, that will be shown in the Add-ons Manager.

      Testing question: What are the optional parts of manifest.json?

    3. The first three keys: manifest_version, name, and version, are mandatory and contain basic metadata for the extension.

      Question: What are the mandatory part of manifest.json?

  3. developer.mozilla.org developer.mozilla.org
    1. The popup is specified as an HTML file, which can include CSS and JavaScript files, as a normal web page does.

      Testing question: Of which files the popup consists of?

    2. Popups resize automatically to fit their content.

      Testing question: How is the popup resized?

    1. There are two ways to specify a browser action: with or without a popup

      Question: What are the ways in which the browser action can work?

    2. The only mandatory key is default_icon

      Question: What is the only mandatory key in the firefox "browser action" in the manifest.json file?

    3. Specifying the browser action

      Question: Where do you define the browser action? Answer: In the manifest.json.

    4. ommonly referred to as a browser action, this user interface option is a button added to the browser toolbar. Users click the button to interact with your extension.

      Question: What is a "browser action"?

  4. Nov 2018
  5. Nov 2014
    1. Add a toggle button to the Firefox user interface. With this module you can create buttons that function like a check box, representing an on/off choice.

      Seems to support using a toggle for the Hypothesis extension.