Commit Graph

12 Commits (b4806e7ba9129dbfac5c43b3803d4cb1ee649a4c)

Author SHA1 Message Date
meow b72b917af2 handled invalid values in storage
partial rewrite notifications.js
innerText to textContent
fixed bug with clamping
meow 7dd699370f js code rewrite. Created _helpers.js with XHR and storage wrapper
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