working with chrome, not working on android

Everything about using the stand-alone Adblock Plus app on Android
Post Reply
ericJ0
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

working with chrome, not working on android

Post by ericJ0 »

First of all, hello, I'm Eric.
I'm using adblock plus on my desktop computer with Chrome.
On my Android phone, i wish to use chrome for speed purposes. Firefox does not fit my needs.

I'm not very used to javascript and html, but here is my question.
In a page i would prefer not to give the url, there is this code:

Code: Select all

try { 

        (function () {
            var server = false;
            try { server = ***.*******.Ads.SmartServer.getInstance(); } catch (e) {}
            if (!server) {
                return;
            }
        })();
    
} catch(e) {...;}
The page is well filtered with adblock plus for chrome, but the code after this check code is not executed on android.
Is there a way to get this working on android? The js code after this barrier deals with polling and live update of the data displayed on the page. So the page content is wrong

Thanks


edit: i want to add that this problem happens when adblock plus is disabled too. (ie the only thing running is the proxy)
thuguerre
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm

Re: working with chrome, not working on android

Post by thuguerre »

hello eric,
just to be sure, have you tried to execute the JS code without ABP installed on the phone at all ? or your proxy disabled ?
it could be an android / android chrome issue.
ericJ0
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

Re: working with chrome, not working on android

Post by ericJ0 »

hello,
yes.
- no Adblock Plus and no proxy, the page works.
- proxy and AdBlock Plus disabled, the page does not work.

well, anyway, I can give a url
http://www.boursorama.com/cours.phtml?symbole=1rPCAC
The plot and the search tool on top of the page are javascript code that come after that barrier. They do not work if I go through the proxy

Eric
thuguerre
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm

Re: working with chrome, not working on android

Post by thuguerre »

just tried on my samsung galaxy s / ABP installed / proxy enabled / filtering disabled, and all seems to work well :-(
I use version 1.3 #build 359 of ABP. you too ?
ericJ0
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

Re: working with chrome, not working on android

Post by ericJ0 »

yes, version 1.3 build# 359
Android 4.4.2, samsung s5 mini, not root
thuguerre
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm

Re: working with chrome, not working on android

Post by thuguerre »

sorry, I made a wrong test before : my proxy was not enabled (another wifi network that I tought)
this time, I have same issue : click on search (or icon on right) does not work.
ericJ0
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

Re: working with chrome, not working on android

Post by ericJ0 »

hello,
I'm happy, i found a solution.

The page requests an url whose length is 1352.
The maximum size of a http header is 1024 in the code.
Increasing MimeHeaders.MAX_LINE to 2048 solves the problem.
:P
thuguerre
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm

Re: working with chrome, not working on android

Post by thuguerre »

thanks eric for the solution
I have reported as an issue your problem to ask a possible correction.
Post Reply