1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-23 06:19:37 -05:00
Commit Graph

22 Commits

Author SHA1 Message Date
Samantaz Fox
7b6930c16b
Remove the 'fields' parameter on the client side too 2023-11-23 18:30:42 +01:00
meow
d3ab4a5145 JS. Trailing spaces removed 2022-06-05 20:54:48 +03:00
meow
b729597728 comment changed
extra spaces removed
2022-05-21 19:30:51 +03:00
meow
b72b917af2 handled invalid values in storage
partial rewrite notifications.js
innerText to textContent
fixed bug with clamping
2022-05-21 13:35:41 +03:00
meow
fd890f9c0a fix helpers storage 2022-05-06 07:21:19 +03:00
meow
7dd699370f js code rewrite. Created _helpers.js with XHR and storage wrapper 2022-05-06 04:46:59 +03:00
meow
3431a1b1de console.warn and info instead of log 2022-04-25 12:54:32 +03:00
meow
c4cc50ca39 replace innerHTML to safer textContent where possible 2022-04-25 12:54:30 +03:00
meow
9b09d369d9 add variable declarations 2022-04-25 12:54:25 +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 ()
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
d034fecc89
Remove default arguments from function definitions 2019-07-20 20:33:44 -05:00
Omar Roth
bbb40aef51
Fix event listener for notifications.js 2019-06-16 18:11:34 -05:00
Omar Roth
485a3e29e7
Optimize get_subscriptions AJAX 2019-06-16 17:33:24 -05:00
Omar Roth
9dea251862
Fix typo in notifications.js 2019-06-16 12:57:56 -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