SSL Insecure Content
-
This plugin explicitly calls JSON and other assets over http using jquery, which the browser blocks when viewing sites using it over SSL. Easy fix is just to change the explicit protocol references to relative:
bible-votd-jquery-js.php line 7:
replace: $.getJSON( ‘https://www.biblegateway.com/votd/get?callback=?’, { ‘format’ : ‘json’, ‘version’ : abbr }, function( json ) {
with: $.getJSON( ‘//www.biblegateway.com/votd/get?callback=?’, { ‘format’ : ‘json’, ‘version’ : abbr }, function( json ) {
bible-votd.php line 225:
Replace:
jQuery(document).ready(function(b){var a=<?php echo json_encode( self::$instances ); ?>;b.each(a,function(d,c){b.getJSON(“https://www.biblegateway.com/votd/get?callback=?”,{format:”json”,version:c},function(f){if(“undefined”!=typeof f.error){return true;}var e=f.votd;b(“div#biblegateway-votd-“+d).html(e.text+’ — ‘+e.reference+”.”+(“undefined”!=typeof e.audiolink &&””!=e.audiolink?’ <img width=”13″ height=”12″ src=”//www.biblegateway.com/resources/audio/images/sound.gif” alt=”Listen to chapter” />‘:””)+’ ‘+e.copyright.replace(/\.+$/,””)+’. Powered by BibleGateway.com.’);});});});
With:
jQuery(document).ready(function(b){var a=<?php echo json_encode( self::$instances ); ?>;b.each(a,function(d,c){b.getJSON(“//www.biblegateway.com/votd/get?callback=?”,{format:”json”,version:c},function(f){if(“undefined”!=typeof f.error){return true;}var e=f.votd;b(“div#biblegateway-votd-“+d).html(e.text+’ — ‘+e.reference+”.”+(“undefined”!=typeof e.audiolink &&””!=e.audiolink?’ <img width=”13″ height=”12″ src=”//www.biblegateway.com/resources/audio/images/sound.gif” alt=”Listen to chapter” />‘:””)+’ ‘+e.copyright.replace(/\.+$/,””)+’. Powered by BibleGateway.com.’);});});});
- The topic ‘SSL Insecure Content’ is closed to new replies.