Jump to content

Topic on Extension talk:GoogleCustomWikiSearch/Flow

Wess (talkcontribs)

The extension will not load over wikis with https. to fix this you can delete or comment out the protocal part in line 184 at GoogleCustomWikiSearch.class.php:

/*(document.location.protocol == 'https' ? 'https:' : 'http:') +*/

and start the next line with https:

'https://www.google.com/cse/cse.js?theme...
Rudloff (talkcontribs)

I also had to edit the getScriptFileName() function in order to make it work with HTTPS:

public function getScriptFileName() {     return 'https://www.google.com/jsapi'; }

Reply to "Https problem fix"