├── .gitignore ├── icon.png ├── icon64.png ├── docs ├── icon64.png ├── _config.yml ├── styles.md ├── rules.md ├── _layouts │ └── default.html ├── index.md └── assets │ └── css │ └── style.scss ├── Buildfile ├── lib ├── settings-defaults.js ├── builtin-gitlabs.js ├── builtin-rules.js ├── settings.js ├── util.js ├── main.js └── polyfills.js ├── options.xul ├── install.rdf ├── README.md ├── update.xml ├── bootstrap.js └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | *.xpi 2 | archive/ 3 | ext/ -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martok/palefill/HEAD/icon.png -------------------------------------------------------------------------------- /icon64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martok/palefill/HEAD/icon64.png -------------------------------------------------------------------------------- /docs/icon64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martok/palefill/HEAD/docs/icon64.png -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-leap-day 2 | show_downloads: true 3 | 4 | title: Palefill 5 | description: Web Technologies Polyfill 6 | logo_icon: icon64.png 7 | 8 | github: 9 | release_url: https://github.com/martok/palefill/releases/latest 10 | install_url: https://github.com/martok/palefill/releases/download/v1.30/palefill-1.30.xpi 11 | -------------------------------------------------------------------------------- /Buildfile: -------------------------------------------------------------------------------- 1 | [*main*] 2 | tasks=assemble,xpi 3 | VERSION=${shell grep -Po "(?<=).+(?=<)" install.rdf} 4 | 5 | [assemble] 6 | tool=cmd 7 | echo ${VERSION} 8 | 9 | [xpi] 10 | tool=zip 11 | filename=palefill-${VERSION}.xpi 12 | files=xpi.files 13 | 14 | [xpi.files] 15 | install.rdf= 16 | bootstrap.js= 17 | options.xul= 18 | icon.png= 19 | icon64.png= 20 | lib/*.js=lib/ 21 | 22 | -------------------------------------------------------------------------------- /lib/settings-defaults.js: -------------------------------------------------------------------------------- 1 | /* 2 | This Source Code Form is subject to the terms of the Mozilla Public 3 | License, v. 2.0. If a copy of the MPL was not distributed with this 4 | file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 | 6 | Palefill Web Technologies Polyfill Add-on 7 | Copyright (c) 2020-22 Martok & Contributors. All rights reserved. 8 | */ 9 | 10 | exports = { 11 | "debug": false, 12 | "exclusion": "", 13 | "gitlab-urls": "", 14 | } -------------------------------------------------------------------------------- /docs/styles.md: -------------------------------------------------------------------------------- 1 | # Additional User-Styles 2 | 3 | Palefill does not incorporate a user-style engine, and simple style changes are deliberately out of 4 | scope for the fixes done here. 5 | 6 | If required, the following snippets might be useful in the user style method of choice. 7 | 8 | ## drive.google.com 9 | 10 | Fix scrolling in the main file list: 11 | 12 | ```css 13 | @namespace url(http://www.w3.org/1999/xhtml); 14 | 15 | @-moz-document domain("drive.google.com") { 16 | .PEfnhb, .a-q-Gd { 17 | position: absolute !important; 18 | } 19 | } 20 | ``` 21 | 22 | -------------------------------------------------------------------------------- /lib/builtin-gitlabs.js: -------------------------------------------------------------------------------- 1 | /* 2 | This Source Code Form is subject to the terms of the Mozilla Public 3 | License, v. 2.0. If a copy of the MPL was not distributed with this 4 | file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 | 6 | Palefill Web Technologies Polyfill Add-on 7 | Copyright (c) 2020-22 Martok & Contributors. All rights reserved. 8 | */ 9 | 10 | // Well-Known Self-Hosted Gitlab URLs. 11 | // Originally seeded with the list compiled by JustOff and SeaHOH for the github-wc-polyfill addon 12 | 13 | exports = String.raw` 14 | 0xacab.org 15 | code.briarproject.org 16 | code.foxkit.us 17 | code.videolan.org 18 | dev.gajim.org 19 | forge.tedomum.net 20 | foss.heptapod.net 21 | framagit.org 22 | git.adelielinux.org 23 | git.alchemyviewer.org 24 | git.callpipe.com 25 | git.cardiff.ac.uk 26 | git.cit.bcit.ca 27 | git.coop 28 | git.drk.sc 29 | git.drupalcode.org 30 | git.empiresmod.com 31 | git.feneas.org 32 | git.fosscommunity.in 33 | git.gnu.io 34 | git.happy-dev.fr 35 | git.immc.ucl.ac.be 36 | git.jami.net 37 | git.ligo.org 38 | git.linux-kernel.at 39 | git.najer.info 40 | git.nzoss.org.nz 41 | git.oeru.org 42 | git.pleroma.social 43 | git.pwmt.org 44 | git.rockylinux.org 45 | git.silence.dev 46 | git.synz.io 47 | gitgud.io 48 | gitlab.com 49 | gitlab.freedesktop.org 50 | gitlab.gnome.org 51 | gitlab.xfce.org 52 | gitlab.xiph.org 53 | gitplac.si 54 | invent.kde.org 55 | lab.libreho.st 56 | mau.dev 57 | mpeg.expert 58 | opencode.net 59 | repo.getmonero.org 60 | salsa.debian.org 61 | skylab.vc.h-brs.de 62 | source.joinmastodon.org 63 | source.puri.sm 64 | source.small-tech.org 65 | `; -------------------------------------------------------------------------------- /options.xul: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |