From 8f9e61fa333eef2eb2e13dee3071447ca32acaf0 Mon Sep 17 00:00:00 2001 From: erosman Date: Sat, 23 Dec 2023 19:18:17 +0330 Subject: [PATCH] v8.8 --- src/content/about.html | 6 +++--- src/content/app.js | 1 + src/content/help.html | 35 ++++++++++++++++------------------- src/content/iframe.css | 39 +++++++++++++++++++++++++-------------- 4 files changed, 45 insertions(+), 36 deletions(-) diff --git a/src/content/about.html b/src/content/about.html index deecad7..693b9a8 100644 --- a/src/content/about.html +++ b/src/content/about.html @@ -14,12 +14,12 @@
-

Changelog

+

Changelog

8.8
Added Show hidden feature
+
Fixed an issue with sync (#99)
Updated code to process duplicate hostname:port (#33, #76)
-
Updated sync process (#99)
Updated user interface to hide patterns on FoxyProxy Basic
8.7
@@ -106,7 +106,7 @@

Changelog

Updated User Interface
-

Credits

+

Credits

Developer
diff --git a/src/content/app.js b/src/content/app.js index c1bf08d..f21aae7 100644 --- a/src/content/app.js +++ b/src/content/app.js @@ -31,6 +31,7 @@ export class App { // ---------- User Preferences --------------------------- static defaultPref = JSON.stringify(pref); + // not syncing mode & sync (to have a choice), data (will be broken into parts) static syncProperties = Object.keys(pref).filter(i => !['mode', 'sync', 'data'].includes(i)); static getDefaultPref() { diff --git a/src/content/help.html b/src/content/help.html index 3c55b7a..b386cf0 100644 --- a/src/content/help.html +++ b/src/content/help.html @@ -453,9 +453,12 @@

Options

Some options are not available in Chrome, but have been left for when sharing preferences between Chrome & Firefox.

Enable Storage Sync

-

Enable to sync storage if it is under 100KB. If the storage is over 100KB, there will be a notification and the - Sync will be turned off automatically to avoid repeated errors.

-

Storage Sync is disabled on managed storage.

+

Enable to sync storage if it is under 100KB. If the storage is over 100KB, there will be a notification and the Sync will be turned off automatically to avoid repeated errors.

+
    +
  • Sync is disabled on managed storage
  • +
  • At the moment, Firefox does not support sync to Firefox on Android
  • +
  • Mode & Sync option is not synced to give users choice on different machines
  • +
@@ -488,7 +491,7 @@
Storage quotas for sync data

Auto Backup

-

Automatically backup settings to the browser configured Downloads folder on save

+

Automatically backup settings to the browser configured downloads folder on save

Limit WebRTC (requires "privacy" permission)

@@ -533,9 +536,6 @@

Keyboard Shortcut (not available on Android)Global Exclude

List of hosts that should not be proxied

- -
  • Connections to localhost, 127.0.0.1/8, and ::1 are never proxied (by the browser)
  • The passthrough implementation is slightly different in Chrome and Firefox
  • @@ -544,8 +544,6 @@

    Global Exclude

  • Supported formats are listed under passthrough in each section
  • Scheme is supported by FoxyProxy and Chrome, but not Firefox (PAC URL)
  • - -
  • CIDR only applies to URLs that are IP literals and does not block hostnames that resolve to the IP address range (10.0.0.0/8 is not "no proxy for intranet hostnames")
  • Only IPv4 CIDR is implemented by FoxyProxy
  • The literal string <local> matches simple hostnames (no dots)
  • @@ -698,20 +696,19 @@

    Save

    Proxies

    -
    -

    FoxyProxy identifies proxies by their "hostname:post" or PAC URL.

    -

    In case more than one proxy with the same "hostname:post" is needed, one or more letters can be added to the port to separate them, and FoxyProxy will remove the letters later. (v8.8)

    + +

    FoxyProxy identifies proxies by their "hostname:post" or PAC URL.

    +

    In case more than one proxy with the same "hostname:post" is needed, one or more letters can be added to the port to separate them, and FoxyProxy will remove the letters later. (v8.8)

     127.0.0.1:9050
     127.0.0.1:9050a
     127.0.0.1:9050b
     127.0.0.1:9050c
     
    +

    For Unix Domain Sockets, where port is ignored, only numbers should be used.

    -

    Another solution is to prepend hostnames where possible e.g. <sometext>.localhost since they all resolve to 127.0.0.1 internally.

    +

    Another solution is to prepend hostnames where possible e.g. <sometext>.localhost since they all resolve to 127.0.0.1 internally.

    -

    For Unix Domain Sockets, where port is ignored, only numbers should be used.

    -

    Proxy

    @@ -731,12 +728,12 @@

    Individual Proxy

    If FoxyProxy is to set to use an Individual Proxy/PAC, editing proxy's hostname, port, or PAC URL, may result in a mismatch until it is set again.

    -
    ⎘ Duplicate Proxy
    -
    Click to duplicate proxy and its patterns
    -
    Toggle Button
    Toggle proxy active or inactive
    -
    Inactive proxies do not show in toolbar popup select
    +
    Inactive proxies do not show in the toolbar popup select
    + +
    ⎘ Duplicate Proxy
    +
    Click to duplicate proxy and its patterns
    Delete
    Delete the proxy and its patterns
    diff --git a/src/content/iframe.css b/src/content/iframe.css index a5ff3ac..f3fbf27 100644 --- a/src/content/iframe.css +++ b/src/content/iframe.css @@ -23,36 +23,46 @@ article { background-color: var(--bg); } -h1, h2 { - font-weight: normal; -} -h1 { +/* ----- h1-h5 ----- */ +h2 { color: var(--header); font-size: 2.2em; border-bottom: 1px solid var(--border); + font-weight: normal; } -h2 { +h2:first-of-type { + margin-top: 0; +} + +h3 { color: var(--nav-hover); font-size: 1.5em; + font-weight: normal; } -:not(h1) + h2 { +h4 { + font-size: 1.2em; +} + +h5 { + font-size: 1em; +} + +:not(h2) + h3 { margin-top: 1.5em; } -:is(h1, h2, h3, h4) span { +:is(h1, h2, h3, h4, h5) span { color: var(--dim); font-size: 0.8em; font-style: italic; font-weight: normal; margin-left: 0.5em; } +/* ----- /h1-h5 ----- */ -/* h3 { - font-size: 1.2em; -} */ p { margin-top: 0.5em; @@ -288,24 +298,25 @@ td.code { } /* ----- Translate ----- */ -div.translate { +.translate { display: grid; grid-auto-flow: column; justify-content: end; align-items: center; gap: 0.5em; + padding: 1em 1em 0; + background-color: var(--bg); } -div.translate select { +.translate select { width: auto; } -div.translate input[type="submit"] { +.translate input[type="submit"] { color: inherit; background-color: var(--alt-bg); border: 1px solid var(--border); border-radius: 0.3em; padding: 0.2em 0.5em; } - /* ----- /Translate ----- */ \ No newline at end of file