diff --git a/couchpotato/core/plugins/userscript/template.js b/couchpotato/core/plugins/userscript/template.js index 090a62ba..e200afb0 100644 --- a/couchpotato/core/plugins/userscript/template.js +++ b/couchpotato/core/plugins/userscript/template.js @@ -12,6 +12,9 @@ // ==/UserScript== +if (window.top != window.self) // Only run on top window + return; + var version = {{version}}, host = '{{host}}', api = '{{api}}';