Commit Graph

9 Commits (1a7e160956dc0ac911dcac33b9231de804bb1924)

Author SHA1 Message Date
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 e23bab0103
Only add notification event listener after onload
Omar Roth 0338fd42e1
Add support for Web notifications
Omar Roth 37d88d5ff7
Remove referer from XHR
Omar Roth 2faa2ed1f4
Refactor watch.js
Omar Roth 0099a9822e
Refactor subscribe_widget