Commit Graph

10 Commits (7f2176d7fcc8e65b5eab97e991b8b853a952a0a0)

Author SHA1 Message Date
meow fafd4d9396 new lines in the end of file
meow c4cc50ca39 replace innerHTML to safer textContent where possible
meow 38ef0b10e7 eqeqeq
meow c72d3c4a0e semicolons
meow eb7e48b059 use strict
leonklingele 70cbe91776
Migrate to a good Content Security Policy ()
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
Omar Roth 17edfd6573
Shorten timeout for AJAX
Omar Roth 552f616305
Fix retry on timeout for AJAX requests
Omar Roth 8c944815bc
Minor refactor
Omar Roth 7d2e1f63b5
Refactor watched_widget.js