Commit graph

15 commits

Author SHA1 Message Date
meow 3431a1b1de console.warn and info instead of log 2022-04-25 12:54:32 +03:00
meow 7450cb1f21 default parameters 2022-04-25 12:54:30 +03:00
meow c4cc50ca39 replace innerHTML to safer textContent where possible 2022-04-25 12:54:30 +03:00
meow 38ef0b10e7 eqeqeq 2022-04-25 10:14:24 +03:00
meow c72d3c4a0e semicolons 2022-04-25 10:13:00 +03:00
meow eb7e48b059 use strict 2022-04-25 10:12:16 +03:00
leonklingele 70cbe91776
Migrate to a good Content Security Policy (#1023)
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
2020-03-15 16:46:08 -05:00
Omar Roth 17edfd6573
Shorten timeout for AJAX 2019-06-16 12:55:17 -05:00
Omar Roth 552f616305
Fix retry on timeout for AJAX requests 2019-06-15 10:09:32 -05:00
Omar Roth 8c944815bc
Minor refactor 2019-06-07 21:13:50 -05:00
Omar Roth e23bab0103
Only add notification event listener after onload 2019-06-01 17:38:49 -05:00
Omar Roth 0338fd42e1
Add support for Web notifications 2019-06-01 16:09:17 -05:00
Omar Roth 37d88d5ff7
Remove referer from XHR 2019-05-08 09:16:11 -05:00
Omar Roth 2faa2ed1f4
Refactor watch.js 2019-05-06 09:48:33 -05:00
Omar Roth 0099a9822e
Refactor subscribe_widget 2019-05-05 08:38:55 -05:00
Renamed from src/invidious/views/components/subscribe_widget_script.ecr (Browse further)