working with chrome, not working on android

Everything about using the stand-alone Adblock Plus app on Android

working with chrome, not working on android

Postby ericJ0 » Thu Aug 20, 2015 6:38 pm

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)
ericJ0
 
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

Re: working with chrome, not working on android

Postby thuguerre » Fri Aug 21, 2015 6:02 pm

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.
thuguerre
 
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm

Re: working with chrome, not working on android

Postby ericJ0 » Fri Aug 21, 2015 6:13 pm

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
ericJ0
 
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

Re: working with chrome, not working on android

Postby thuguerre » Fri Aug 21, 2015 6:20 pm

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 ?
thuguerre
 
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm

Re: working with chrome, not working on android

Postby ericJ0 » Fri Aug 21, 2015 6:33 pm

yes, version 1.3 build# 359
Android 4.4.2, samsung s5 mini, not root
ericJ0
 
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

Re: working with chrome, not working on android

Postby thuguerre » Fri Aug 21, 2015 7:16 pm

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.
thuguerre
 
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm

Re: working with chrome, not working on android

Postby ericJ0 » Sat Aug 29, 2015 5:03 pm

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
ericJ0
 
Posts: 5
Joined: Thu Aug 20, 2015 6:26 pm

Re: working with chrome, not working on android

Postby thuguerre » Mon Aug 31, 2015 1:02 pm

thanks eric for the solution
I have reported as an issue your problem to ask a possible correction.
thuguerre
 
Posts: 18
Joined: Sun Aug 16, 2015 3:29 pm


Return to Adblock Plus for Android support

Who is online

Users browsing this forum: No registered users and 2 guests