diff --git a/free.js b/free.js index f9bcbff31bccfe66376d877e464cd0a41cc2355e..17acbe57d323bc45cf39356c07b1049321317082 100644 --- a/free.js +++ b/free.js @@ -1,7 +1,4 @@ if (window.location.host === 'engage.streaming.rwth-aachen.de') { - if (!window.location.href.startsWith('https://engage.streaming.rwth-aachen.de/paella/ui/watch.html')) - console.warn('looks like we are running outside a player context‽') - const inFrame = (window.parent !== window) const vId = new URLSearchParams(location.search).get('id') fetch(`https://engage.streaming.rwth-aachen.de/search/episode.json?${new URLSearchParams({id:vId}).toString()}`) diff --git a/manifest.json b/manifest.json index 767a54ee2092d59f5d132f36ec3e949bcbf9bbee..a87ff5d2b97aff4916012cd5528a38685e651be2 100644 --- a/manifest.json +++ b/manifest.json @@ -15,7 +15,7 @@ "content_scripts": [ { "all_frames": true, - "matches": ["https://moodle.rwth-aachen.de/*", "https://engage.streaming.rwth-aachen.de/paella/ui/*"], + "matches": ["https://moodle.rwth-aachen.de/*", "https://engage.streaming.rwth-aachen.de/*"], "js": ["free.js"], "css": ["free.css"] }