Commit Graph

21 Commits (df6b51f9c6de61f6f6b4db797856ff64d02f8223)

Author SHA1 Message Date
meow d3ab4a5145 JS. Trailing spaces removed 2 years ago
meow b729597728 comment changed
extra spaces removed
3 years ago
meow b72b917af2 handled invalid values in storage
partial rewrite notifications.js
innerText to textContent
fixed bug with clamping
3 years ago
meow fd890f9c0a fix helpers storage 3 years ago
meow 7dd699370f js code rewrite. Created _helpers.js with XHR and storage wrapper 3 years ago
meow 3431a1b1de `console.warn` and `info` instead of `log` 3 years ago
meow c4cc50ca39 replace innerHTML to safer textContent where possible 3 years ago
meow 9b09d369d9 add variable declarations 3 years ago
meow 38ef0b10e7 eqeqeq 3 years ago
meow c72d3c4a0e semicolons 3 years ago
meow eb7e48b059 use strict 3 years ago
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
5 years ago
Omar Roth d034fecc89
Remove default arguments from function definitions 5 years ago
Omar Roth bbb40aef51
Fix event listener for notifications.js 5 years ago
Omar Roth 485a3e29e7
Optimize get_subscriptions AJAX 5 years ago
Omar Roth 9dea251862
Fix typo in notifications.js 5 years ago
Omar Roth 17edfd6573
Shorten timeout for AJAX 5 years ago
Omar Roth 552f616305
Fix retry on timeout for AJAX requests 5 years ago
Omar Roth 8c944815bc
Minor refactor 6 years ago
Omar Roth e23bab0103
Only add notification event listener after onload 6 years ago
Omar Roth 0338fd42e1
Add support for Web notifications 6 years ago