From 6de05041329113c3818625effc4a9a6fd5d73d2b Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sun, 10 Apr 2022 20:11:52 +0300 Subject: Uncommented a code for fetching from data.json in sendTargets #174 --- src/assets/javascripts/helpers/sendTargets.js | 2 +- src/pages/options/twitter/twitter.html | 176 +++++++++++++++----------- 2 files changed, 103 insertions(+), 75 deletions(-) (limited to 'src') diff --git a/src/assets/javascripts/helpers/sendTargets.js b/src/assets/javascripts/helpers/sendTargets.js index 5b6d4201..4953c4e9 100644 --- a/src/assets/javascripts/helpers/sendTargets.js +++ b/src/assets/javascripts/helpers/sendTargets.js @@ -158,7 +158,7 @@ async function init() { protocol = r.sendTargetsProtocol ?? "normal"; - //redirects.send = dataJson.send; + redirects.send = dataJson.send; if (r.sendTargetsRedirects) redirects = r.sendTargetsRedirects; sendNormalRedirectsChecks = r.sendNormalRedirectsChecks ?? [...redirects.send.normal]; diff --git a/src/pages/options/twitter/twitter.html b/src/pages/options/twitter/twitter.html index 226d8570..980fd557 100644 --- a/src/pages/options/twitter/twitter.html +++ b/src/pages/options/twitter/twitter.html @@ -2,12 +2,12 @@ - - - - - - LibRedirect: Twitter + + + + + + LibRedirect: Twitter @@ -129,83 +129,111 @@ -
+
-
-

Enable

- -
+
+

Enable

+ +
-
-

Protocol

- -
+
+

Protocol

+ +
-
-

Bypass "Open in Twitter"

- -
+
+

Bypass "Open in Twitter"

+ +
+ +
+ +
+
+

Theme

+ +
+
-
- -
- -
-

Default Instances

-
-
-
-
-

Custom Instances

-
-
-
- - -
-
-
+
+

Infinite scrolling (experimental, requires JavaScript)

+ +
+ +
+

Make profile sidebar stick to top

+ +
+ +
+ +
+ +
+

Default Instances

+
+
+
+
+

Custom Instances

+
+
+
+ +
+
+
+ +
-
-
-

Default Tor Instances

-
-
-
-
-

Custom Instances

-
-
-
- - -
-
-
+
+
+

Default Tor Instances

+
+
+
+
+

Custom Instances

+
+
+
+ +
+
+
+
-
+
- - - + + + - + \ No newline at end of file -- cgit 1.4.1