Page 1 of 1

working with chrome, not working on android

PostPosted: Thu Aug 20, 2015 6:38 pm
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)

Re: working with chrome, not working on android

PostPosted: Fri Aug 21, 2015 6:02 pm
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.

Re: working with chrome, not working on android

PostPosted: Fri Aug 21, 2015 6:13 pm
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

Re: working with chrome, not working on android

PostPosted: Fri Aug 21, 2015 6:20 pm
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 ?

Re: working with chrome, not working on android

PostPosted: Fri Aug 21, 2015 6:33 pm
by ericJ0
yes, version 1.3 build# 359
Android 4.4.2, samsung s5 mini, not root

Re: working with chrome, not working on android

PostPosted: Fri Aug 21, 2015 7:16 pm
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.

Re: working with chrome, not working on android

PostPosted: Sat Aug 29, 2015 5:03 pm
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

Re: working with chrome, not working on android

PostPosted: Mon Aug 31, 2015 1:02 pm
by thuguerre
thanks eric for the solution
I have reported as an issue your problem to ask a possible correction.