about summary refs log tree commit diff stats
path: root/pages/options/options.html
diff options
context:
space:
mode:
authornitrohorse <1514352+nitrohorse@users.noreply.github.com>2020-09-05 19:50:59 -0700
committernitrohorse <1514352+nitrohorse@users.noreply.github.com>2020-09-05 19:50:59 -0700
commit91002404546b4154f3fa20de77a9267dff7594de (patch)
tree95684270ff82bf7be72740b2144a8399087f52ef /pages/options/options.html
parentRandomise instances when empty (#48) (diff)
downloadlibredirect-91002404546b4154f3fa20de77a9267dff7594de.zip
Add support for the old Reddit design
Add support for redirecting Reddit links to the old desktop and
mobile designs.
Diffstat (limited to 'pages/options/options.html')
-rw-r--r--pages/options/options.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/pages/options/options.html b/pages/options/options.html
index 6641e5c4..96641515 100644
--- a/pages/options/options.html
+++ b/pages/options/options.html
@@ -121,6 +121,28 @@
         </table>
       </section>
       <section class="settings-block">
+        <table class="option" aria-label="Toggle Reddit version redirects">
+          <tbody>
+            <tr>
+              <td>
+                <h1 data-localise="__MSG_disableRedditVersion__">
+                  Reddit Version Redirects
+                </h1>
+              </td>
+              <td>
+                <input
+                  aria-hidden="true"
+                  id="disable-reddit-version"
+                  type="checkbox"
+                  checked
+                />&nbsp;
+                <label for="disable-reddit-version" class="checkbox-label"> </label>
+              </td>
+            </tr>
+          </tbody>
+        </table>
+      </section>
+      <section class="settings-block">
         <h1 data-localise="__MSG_nitterInstance__">Nitter Instance</h1>
         <div class="autocomplete">
           <input
@@ -162,6 +184,16 @@
         </div>
       </section>
       <section class="settings-block">
+        <h1 data-localise="__MSG_redditVersion__">Reddit Version</h1>
+        <div class="autocomplete">
+          <input
+            id="reddit-version"
+            type="url"
+            placeholder="https://old.reddit.com"
+          />
+        </div>
+      </section>
+      <section class="settings-block">
         <h1 data-localise="__MSG_theme__">Theme</h1>
         <select id="theme">
           <option value="">System</option>