From 99f6e7d2c75033b1e0f32d2bcdbdaf071b120df7 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Sat, 29 Apr 2023 19:24:02 +0800
Subject: [PATCH] local bookmarklets to support CSP sites
---
en/changelog/index.html | 7 ++++---
en/index.xml | 5 +++--
en/rjs/index.html | 3 ++-
en/sitemap.xml | 8 ++++----
en/topposts/index.xml | 5 +++--
sitemap.xml | 2 +-
6 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/en/changelog/index.html b/en/changelog/index.html
index 3cced4c..ea5b679 100644
--- a/en/changelog/index.html
+++ b/en/changelog/index.html
@@ -52,7 +52,8 @@
pagure
Change logs
-991: global url redirection support.
+
998: Bookmarklets to support CSP sites.
+991: global url redirection support.
988: hosts file to support response headers.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
@@ -78,8 +79,8 @@
-
Last Modified: 17 April 2023
-enhance redirection cookie support
+
Last Modified: 29 April 2023
+bookmarklets to support CSP sites
diff --git a/en/index.xml b/en/index.xml
index 60cc73d..a4a3a93 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -209,7 +209,8 @@ sourceforge
powerfolder
pcloud
pagure
-Main features Change logs 991: global url redirection support.
+Main features Change logs 998: Bookmarklets to support CSP sites.
+991: global url redirection support.
988: hosts file to support response headers.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
@@ -346,7 +347,7 @@ Instant page
large size javascript code can be installed to the folder "bookmarklet" (long pressing button "js" to popup menu):
Eruda
Performance
-Remote javascript is defined in default.
+Note: Bookmarklets whose names begin with "!
-
diff --git a/en/rjs/index.html b/en/rjs/index.html
index 0d54bff..c865a40 100644
--- a/en/rjs/index.html
+++ b/en/rjs/index.html
@@ -55,6 +55,7 @@
large size javascript code can be installed to the folder "bookmarklet" (long pressing button "js" to popup menu):
Eruda
Performance
+Note: Bookmarklets whose names begin with "!" are allowed to load remote js on CSP (Content Security Policy) sites.
Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the "search" button to popup the menu.):
Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);
Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);
@@ -77,7 +78,7 @@
Last Modified: 29 April 2023
-fix '+' in links for rjs.py
+bookmarklets to support CSP sites
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 11d0627..f0e493c 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -58,7 +58,7 @@
/>
/en/
- 2023-04-29T14:57:17+08:00
+ 2023-04-29T19:23:15+08:00
/en/topposts/
- 2023-04-29T14:57:17+08:00
+ 2023-04-29T19:23:15+08:00
/en/changelog/
- 2023-04-17T07:27:43+08:00
+ 2023-04-29T19:23:15+08:00
/en/sitemap/
2023-02-01T09:52:11+08:00
@@ -291,7 +291,7 @@
/>
/en/rjs/
- 2023-04-29T14:57:17+08:00
+ 2023-04-29T19:21:09+08:00
+Note: Bookmarklets whose names begin with "!
diff --git a/sitemap.xml b/sitemap.xml
index fee8143..7ad457a 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
en/sitemap.xml
- 2023-04-29T14:57:17+08:00
+ 2023-04-29T19:23:15+08:00