mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-07 11:14:01 +00:00
replace innerHTML to safer textContent where possible
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
'use strict';
|
||||
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
|
||||
var video_data = JSON.parse(document.getElementById('video_data').textContent);
|
||||
|
||||
function get_playlist(plid, retries) {
|
||||
if (retries === undefined) retries = 5;
|
||||
|
Reference in New Issue
Block a user