Commit Graph

19 Commits (2e195575a62886d2492e9c505d7bc283b7f60097)

Author SHA1 Message Date
meow 3431a1b1de `console.warn` and `info` instead of `log`
meow c4cc50ca39 replace innerHTML to safer textContent where possible
meow 12ab11413f fix double variable declaration
meow 38ef0b10e7 eqeqeq
meow c72d3c4a0e semicolons
meow eb7e48b059 use strict
saltycrys 680dc1f962 Shuffle URL params
The `list` and `index` params are the most important and come first now.
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 23ccaea2ff
Fix comment event listener
Omar Roth be055d9dcb
Add support for custom playlists
Omar Roth d034fecc89
Remove default arguments from function definitions
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 de77c71042
Add "local" to "next video" URLs
Omar Roth 058711d3a8
Refactor player.js
Omar Roth 2ddc61fa5c
Refactor embed.js