120,124c120,125
< 	// Modified for WordPress compat to prevent loading on webkit and to
< 	// reference a codepress_path which is specified externally.
< 	if (navigator.userAgent.toLowerCase().indexOf('webkit') != -1)
< 		return;
< 	CodePress.path = codepress_path;
---
> 	s = document.getElementsByTagName('script');
> 	for(var i=0,n=s.length;i<n;i++) {
> 		if(s[i].src.match('codepress.js')) {
> 			CodePress.path = s[i].src.replace('codepress.js','');
> 		}
> 	}

