atmoner / php-pastebin-v3

Php pastebin tool
110 stars 56 forks source link

Jquery blocked in https #44

Closed Ezerbeth closed 7 years ago

Ezerbeth commented 9 years ago

Hello,

Figured I'd point out that Firefox blocks mix-mode content now, so that the login javascript menu does not work if your site is on https. Simply replace the link in index.php from http://code.jquery.com... to https://code.jquery.com...

This should probably be default even if not on https.

Thanks for the awesome pastebin!

link0ln commented 9 years ago

mkdir ./js cd ./js wget https://code.jquery.com/jquery-2.1.3.min.js -O jq.js Fixing by edit index.php $hook->addJs('Jquery','https:///js/jq.js','','1');