treewide: change license to MPL-2.0
Adjust the license to be able to upstream adjustments from this repository to upstream Firefox. I've asked all contributors if they are fine with the license change in the related issue. Fixes: https://gitlab.com/postmarketOS/mobile-config-firefox/-/issues/31
This commit is contained in:
parent
16a4471b73
commit
75c57aa3aa
27 changed files with 403 additions and 704 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Copyright 2021 Oliver Smith
|
# Copyright 2021 Oliver Smith
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
#
|
#
|
||||||
# As of writing, it seems that every existing CSS linter is either written in
|
# As of writing, it seems that every existing CSS linter is either written in
|
||||||
# JS or ruby and has tons of dependencies... so instead of that let's use this
|
# JS or ruby and has tons of dependencies... so instead of that let's use this
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
# Copyright 2021 Oliver Smith
|
# Copyright 2021 Oliver Smith
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
HEADER_FILE := src/common/header.css
|
HEADER_FILE := src/common/header.css
|
||||||
USERCHROME_FILES := $(HEADER_FILE) $(sort $(wildcard src/userChrome/*.css))
|
USERCHROME_FILES := $(HEADER_FILE) $(sort $(wildcard src/userChrome/*.css))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Copyright 2021 Oliver Smith
|
# Copyright 2021 Oliver Smith
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
#
|
#
|
||||||
# Extract the search engine names found in your current Firefox installation,
|
# Extract the search engine names found in your current Firefox installation,
|
||||||
# and create a list suitable for policies.json that removes all of them except
|
# and create a list suitable for policies.json that removes all of them except
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="addon">
|
<component type="addon">
|
||||||
<id>org.postmarketos.mobile_config_firefox</id>
|
<id>org.postmarketos.mobile_config_firefox</id>
|
||||||
|
|
||||||
<name>Mobile Config for Firefox</name>
|
<name>Mobile Config for Firefox</name>
|
||||||
<summary>Mobile and privacy friendly configuration for Firefox (distro-independent)</summary>
|
<summary>Mobile and privacy friendly configuration for Firefox (distro-independent)</summary>
|
||||||
|
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-3.0-only</project_license>
|
<project_license>MPL-2.0</project_license>
|
||||||
|
|
||||||
<extends>
|
<extends>
|
||||||
<id>org.mozilla.firefox</id>
|
<id>org.mozilla.firefox</id>
|
||||||
</extends>
|
</extends>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
UI optimizations to allow using Firefox on mobile devices (i.e. small touch screen), including two finger zoom and enforcing of mobile user agent. Privacy enhancements such as disabled search suggestions, disabled Firefox studies, disabled Telemetry and DuckDuckGo as default search engine.
|
UI optimizations to allow using Firefox on mobile devices (i.e. small touch screen), including two finger zoom and enforcing of mobile user agent. Privacy enhancements such as disabled search suggestions, disabled Firefox studies, disabled Telemetry and DuckDuckGo as default search engine.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith, Arnaud Ferraris
|
/* Copyright 2021 Oliver Smith, Arnaud Ferraris
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
* _ _ _ __ _
|
* _ _ _ __ _
|
||||||
* _ __ ___ ___ | |__ (_) | ___ ___ ___ _ __ / _(_) __ _
|
* _ __ ___ ___ | |__ (_) | ___ ___ ___ _ __ / _(_) __ _
|
||||||
* | '_ ` _ \ / _ \| '_ \| | |/ _ \_____ / __/ _ \| '_ \| |_| |/ _` |
|
* | '_ ` _ \ / _ \| '_ \| | |/ _ \_____ / __/ _ \| '_ \| |_| |/ _` |
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2021 Arnaud Ferraris, Oliver Smith
|
// Copyright 2021 Arnaud Ferraris, Oliver Smith
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
// This is a Firefox autoconfig file:
|
// This is a Firefox autoconfig file:
|
||||||
// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
|
// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright 2021 Oliver Smith, Martijn Braam
|
// Copyright 2021 Oliver Smith, Martijn Braam
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
// Set up autoconfig (we use it to copy/update userChrome.css into profile dir)
|
// Set up autoconfig (we use it to copy/update userChrome.css into profile dir)
|
||||||
pref('general.config.filename', "mobile-config-autoconfig.js");
|
pref('general.config.filename', "mobile-config-autoconfig.js");
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith
|
/* Copyright 2021 Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
/* Spawn the menu above the navigation bar (now that we've moved it to the
|
/* Spawn the menu above the navigation bar (now that we've moved it to the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 plata
|
/* Copyright 2021 plata
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
/* Move navigation bar to bottom */
|
/* Move navigation bar to bottom */
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith
|
/* Copyright 2021 Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
/* The only way I (ollieparanoid) found to make this not glitchy, was to
|
/* The only way I (ollieparanoid) found to make this not glitchy, was to
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith
|
/* Copyright 2021 Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
.findbar-container {
|
.findbar-container {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith
|
/* Copyright 2021 Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
/* Hack to prevent popups from flickering around. It looks like e.g. the
|
/* Hack to prevent popups from flickering around. It looks like e.g. the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith
|
/* Copyright 2021 Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
/* Reduce minimum window width */
|
/* Reduce minimum window width */
|
||||||
:root {
|
:root {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Peter Mack, Oliver Smith
|
/* Copyright 2021 Peter Mack, Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
/* Even when not in private browsing mode, reserve space to the right of
|
/* Even when not in private browsing mode, reserve space to the right of
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith
|
/* Copyright 2021 Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
/* Reduce minimum window width */
|
/* Reduce minimum window width */
|
||||||
#urlbar-container {
|
#urlbar-container {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url("about:addons"), url-prefix("about:addons") {
|
@-moz-document url("about:addons"), url-prefix("about:addons") {
|
||||||
:root {
|
:root {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url("about:config") {
|
@-moz-document url("about:config") {
|
||||||
#search-container,
|
#search-container,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Oliver Smith
|
/* Copyright 2021 Oliver Smith
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@namespace url("http://www.w3.org/1999/xhtml");
|
@namespace url("http://www.w3.org/1999/xhtml");
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url("about:license") {
|
@-moz-document url("about:license") {
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url("about:logins") {
|
@-moz-document url("about:logins") {
|
||||||
.container {
|
.container {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url("about:policies"), url-prefix("about:policies") {
|
@-moz-document url("about:policies"), url-prefix("about:policies") {
|
||||||
@media (max-width: 830px) {
|
@media (max-width: 830px) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document regexp("about:preferences.*") {
|
@-moz-document regexp("about:preferences.*") {
|
||||||
.sticky-container {
|
.sticky-container {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url("about:protections") {
|
@-moz-document url("about:protections") {
|
||||||
#report-content {
|
#report-content {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Tim Magee
|
/* Copyright 2021 Tim Magee
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url-prefix("about:reader") {
|
@-moz-document url-prefix("about:reader") {
|
||||||
@media (max-width: 800px) {
|
@media (max-width: 800px) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 Anri Dellal
|
/* Copyright 2021 Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document url("about:rights") {
|
@-moz-document url("about:rights") {
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright 2021 plata, Anri Dellal
|
/* Copyright 2021 plata, Anri Dellal
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
* SPDX-License-Identifier: MPL-2.0 */
|
||||||
|
|
||||||
@-moz-document regexp("about:(preferences|addons|policies).*") {
|
@-moz-document regexp("about:(preferences|addons|policies).*") {
|
||||||
.category-icon {
|
.category-icon {
|
||||||
|
|
Loading…
Reference in a new issue