Commit Graph

23 Commits

Author SHA1 Message Date
ekzyis 9607d4bfe1 Add README 2022-12-25 06:01:29 +01:00
ekzyis 594b1f7460 Set source tag 2022-12-25 05:52:40 +01:00
ekzyis 397f2f2435 Move license from source code into own file 2022-12-25 05:05:08 +01:00
ekzyis c4e2954854 Move tampermonkey script to root 2022-12-25 04:58:58 +01:00
ekzyis b8f8fb6af1 Add icon to repo 2022-12-25 04:55:45 +01:00
ekzyis a85fcbff88 Add TODO about target language 2022-12-25 04:53:50 +01:00
ekzyis 169e29ca22 Add author, icon and license 2022-12-25 04:53:40 +01:00
ekzyis 11dc7f9c69 Fix comment style overwrite 2022-12-25 04:39:14 +01:00
ekzyis 4437416d96 Add CSS for button for consistent style with SN 2022-12-25 03:24:42 +01:00
ekzyis f2fc06fe01 Put button creation code into function 2022-12-25 03:06:04 +01:00
ekzyis f079c352db Fix double whitespace 2022-12-25 02:58:47 +01:00
ekzyis 76aac85ad4 Fix TypeError if no comment section was found 2022-12-25 02:57:52 +01:00
ekzyis 6f1a38bb7d Prefix logs with 'sn-translator' 2022-12-25 02:57:37 +01:00
ekzyis fb25d27e0d Rerun script on new page 2022-12-25 02:56:39 +01:00
ekzyis f03e98bceb Add semicolons to EOL 2022-12-25 02:41:28 +01:00
ekzyis 315fbece44 Remove unused variable 2022-12-25 02:39:09 +01:00
ekzyis defe6ebc4d Formatting 2022-12-25 02:38:03 +01:00
ekzyis 69dec59a4c Move code into own function 2022-12-25 02:35:05 +01:00
ekzyis b4354a9fdb Detect language 2022-12-25 02:32:49 +01:00
ekzyis cec84c29b0 Add test for auto detection
brotli encoding is used for responses using "auto".
Fortunately, requests will automatically handle it when brotli is installed.
2022-12-24 23:57:58 +01:00
ekzyis 50ccde74b1 Add tampermonkey script 2022-12-24 23:43:53 +01:00
ekzyis f7e68949d1 Use libretranslate.com to translate text 2022-12-24 21:20:37 +01:00
ekzyis efdea7f14b initial commit 2022-12-24 20:56:50 +01:00