Ming Di Leom
feb7e0f770
fix(utils): load fr-specific style
...
- #12
2021-12-18 06:28:47 +00:00
orenom
337332af57
fix PR #31 related errors
2021-12-17 17:32:46 +01:00
Ming Di Leom
0657e7cd3b
style: lint
...
- use const if possible
- skip false conditions
- check falsy empty string
- remove whitespace
2021-12-14 12:18:30 +00:00
orenom
988e7cf1dc
fix the stylesheets if the user has chosen a theme via preferences
2021-12-13 00:07:28 +01:00
Ming Di Leom
655f9f35f7
fix(utils): use path instead of full url
...
- enables multiple hosts (e.g. onion, eepsite) to share an instance
2021-12-08 09:53:54 +00:00
orenom
effec8ce4d
set status code to 500 if processing failed
2021-11-07 16:53:33 +01:00
orenom
61374d7cb9
remove debugging msg
2021-10-30 21:44:18 +02:00
orenom
78d267ef9b
uri encode wiki page names (fixes #22 )
2021-10-30 21:41:26 +02:00
orenom
68a7f41d2b
proxy wikimedia.org, adds wikimedia-svg support ( fixes #23 )
2021-10-30 20:13:48 +02:00
orenom
2c042368a5
check that removeAttribute is a function ( fixes #19 )
2021-10-07 15:44:44 +02:00
orenom
599afa7550
fix download as PDF feature ( #9 )
2021-08-14 13:29:20 +02:00
orenom
ea1e7a021b
support Wikipedia 'download as PDF feature' ( #9 )
2021-08-02 18:50:29 +02:00
orenom
6b6b996a82
remove all <script> and <iframe> elements, and remove all JS event attributes from all elements
2021-07-18 11:37:56 +02:00
orenom
4172d2df6c
fix the dir name for the comment
2021-07-17 10:55:47 +02:00
orenom
c781afdedf
add hyphen to the possible subdomain ( fixes #6 )
2021-07-17 10:49:15 +02:00
orenom
37887cd890
consume response data from the https.get() requests
2021-07-06 13:46:03 +02:00
orenom
b3d88c5b43
add User-Agent header for all Wikimedia requests
2021-06-30 03:19:22 +02:00
orenom
deb0f20915
remove the custom port logic from PR #2 , let's use config.domain instead
2021-05-27 19:58:32 +02:00
mgarciaisaia
1f222fe0b1
Fix: missing custom port on re-written links
...
When a link was rewritten and the site is running in a custom
(ie, not protocol standard - http/80, https/443) port, the links
became invalid.
We now include them only when necessary.
2021-05-27 01:02:49 -03:00
orenom
220136bae6
add some styling to the preference page
2021-05-13 17:52:58 +02:00
orenom
df046c5335
fix invalid lang bug
2021-05-13 17:40:56 +02:00
orenom
55ac09b299
decode filenames so we do not end up with too long filenames
2021-05-07 23:44:13 +02:00
orenom
a89453e967
add support for maps.wikimedia.org map images, fixes #1
2021-05-07 23:19:54 +02:00
orenom
b6965a3bdc
first commit
2021-05-05 17:22:33 +02:00