vishnu
vishnu

Reputation: 879

my add-on executing JS on http only not with https

I have an add-on package for Firefox. It executes javascripts on certain websites, but it executes Javascript only for HTTP; I need it to be executed in HTTPS too. Please help me.

This is my addon package: Addon in Zip.

Upvotes: 0

Views: 67

Answers (1)

Wayne
Wayne

Reputation: 60414

The first line in wefwqfeqwef in youtube.js is this:

if ('https:' == document.location.protocol) return false;

So, it looks like the code is specifically rejecting https URLs.

Upvotes: 1

Related Questions