• Resolved themauirob

    (@themauirob)


    hello there. generally great plugin! running version 1.2 on wordpress 2.7.1. works great for me except for 1 thing. on my iphone 3g, every page load i get a popup message saying “<my website url> Handler could not be removed”. Not sure what’s causing it. Probably a conflict with a plugin? After i click “OK” the page loads fine… Any help is much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter themauirob

    (@themauirob)

    Update: so it seems like it’s this script that’s responsible (see below). not sure if that script is from this mobile pack plugin or not. it should be noted that this popup message does not show up when viewing the desktop site on my iphone.

    script:

    <script type="text/javascript"><!-- 
    
    	            function addEvent(elm, evType, fn, useCapture)
    	            // addEvent and removeEvent
    	            // cross-browser event handling for IE5+,  NS6 and Mozilla
    	            // By Scott Andrew
    	            {
    	              if (elm.addEventListener){
    	                  elm.addEventListener(evType, fn, useCapture);
    	                  return true;
    	              } else if (elm.attachEvent){
    	                  var r = elm.attachEvent("on"+evType, fn);
    	                  return r;
    	              } else {
    	                  alert("Handler could not be removed");
    	              }
    	            }
    	            function externalLinks() {
    	             if (!document.getElementsByTagName) return;
    	             var anchors = document.getElementsByTagName("a");
    				 var newwindows =0;
    	             for (var i=0; i<anchors.length; i++) {
    	               var anchor = anchors[i];
    	               if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") {
    	                        anchor.setAttribute("target","_blank");
    							newwindows++;
    					}
    	             }
    	            } 
    
    	            addEvent(window, "load", externalLinks); 
    
    	            //-->
    	            </script>
    Thread Starter themauirob

    (@themauirob)

    after much researching and fiddling with plugins, i found the culprit. it was not this plugin! or, more specifically, it was the mobile version produced by this plugin and some script being called by the Feedlist plugin (which i had installed, but wasn’t even using!!). deactivated feedlist and voila! working great on the iphone. psyched. great job guys!

    Thanks themauirob! I had the same problem here and deactivated feedlist to fix. Not sure why I was using feedlist either. hmm.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WordPress Mobile Pack] iphone “handler could not be removed” error’ is closed to new replies.