Appears that it either wants JavaScript blocked, or both morfik.com & google-analytics.com Allowed.
(google-analytics.com does not display until after morfik.com is allowed.)
[Resolved] NoScript and Morfik forum
Re: NoScript and Morfik forum
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20110608 Firefox/4.0.1 SeaMonkey/2.1
Re: NoScript and Morfik forum
A surrogate should solve this.
Code: Select all
Error: _gaq.push is undefined
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: NoScript and Morfik forum
I'm working around it in the default surrogate starting with next build, thanks.dhouwn wrote:A surrogate should solve this.Code: Select all
Error: _gaq.push is undefined
[EDIT]
Ooops, looks like default surrogate already thanks care of _gaq...
Do they actually import GA from the canonical GA site?
[EDIT 2]
OK, I can see what's happening. They call _gaq.push indirectly (_gaq.push.call), therefore __noSuchMethod__ can't help there.
I'm afraid I must explicitly add a push method here...
[EDIT 3]
In fact, the new noscript.surrogate.ga.replacement preference (which works around this issue) will look like this:
Code: Select all
(function(){var _0=function(){};with(window)urchinTracker=_0,_gaq={__noSuchMethod__:_0,push:_0,_link:function(h){if(h)location.href=h},_linkByPost:function(){return true},_getLinkerUrl:function(u){return u},_trackEvent:_0},_gat={_getTracker:function(){return _gaq}}})()
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: NoScript and Morfik forum
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Re: NoScript and Morfik forum
Now working without allowing google-analytics.com
.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110619 Firefox/5.0 SeaMonkey/2.2
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3369
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: [Resolved] NoScript and Morfik forum
The surrogate should cripple it and I am not seeing an issue, is there something else going on maybe, like Ghostery, I know it breaks alot of things and you can follow the discussion on that here: Ghostery Blocking Feature Breaks Web Functionality on Many Sites.
If you realize it is indeed a Ghostery caused bug, by either disabling it or running in a fresh profile with NoScript only to eliminate other addons as well, then post a comment there and let them know and if not then let us know again.
If you realize it is indeed a Ghostery caused bug, by either disabling it or running in a fresh profile with NoScript only to eliminate other addons as well, then post a comment there and let them know and if not then let us know again.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/6.9 (en-US; rv:6.9.6.9) Gecko/66666666 Firefox/6.6.6
Re: NoScript and Morfik forum
Would something like this work as a universal catchall:Giorgio Maone wrote: [EDIT 2]
OK, I can see what's happening. They call _gaq.push indirectly (_gaq.push.call), therefore __noSuchMethod__ can't help there.
Code: Select all
Proxy.createFunction( {get: function(proxy, name) { return proxy; }}, function () {})
Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: NoScript and Morfik forum
More like this:al_9x wrote:versal catchall:
Code: Select all
Proxy.createFunction( {get: function(proxy, name) { return proxy; }}, function () {})
Code: Select all
(function() { var p = Proxy.createFunction({get: function(proxy, name) { return name in Object.prototype ? Object.prototype[name] : p }}, function() { return p }) })()
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0