AdGuard testing site

Discussion in 'Feature Requests (AdGuard for Windows)' started by mysteriously, Aug 30, 2014.

  1. mysteriously

    mysteriously Beta Tester & Translator

    Joined:
    May 4, 2014
    Messages:
    508
    Hello

    As many people as many configurations. We all have different hardware, OS, programs, applications, security software etc. and all of them uses (mostly) custom configuration like filters etc.

    I'm coming up with an idea to create Adguard website just for all kind of testing:
    1) injection
    2) filters
    3) extensions
    4) communication with the program
    5) all others I've forgotten

    Why?
    Websites uses few ads sources, browsers uses cache. All kind of security software, custom configurations may create unexpected behavior and not known issues. Such website could help us finding new problems, finding out which application or configuration causes it and finally resolving them.

    Website configuration
    case 1 - always same content
    case 2 - random content
    case 3 - user choose tests

    +Replay button next to every single test to rerun only that one

    First case would help us know where is the problem - which software, filter, module or something else may cause issue.
    Second case would tell us if the thing we changed in first case makes the problem go away permanently.
    Third case would run only test we have chosen if others are not necessary.

    How it might look?
    1) Hello! I'm injected code so if you see me it's ok :) || Adguard <module name> wasn't able to inject code to the browser. Please check <something, security software, ...> for possible conflicts.
    2) Image/advert text/animation/...
    Blank place in the table - it's ok. || If you're seeing <something> it may indicate some problem with filters. <do something>
    3) <extension name> has been loaded properly OR failed to load
    4) Something like ping (not direct meaning of course).
    Request: Hey, I'm here. Can you hear me? Reply: Hey there. I heard you.
    if Request && Reply ReachedTarget { ShowConfirmationText }
    else printf ("Comunication with the program failed. Please try again");
    ;)
    Request from both sides* - Adguard to the browser + reply + confirm if got reply. Same from browser to the Adguard.
    *Not sure if it is necessary.
    5) Devs knows Adguard code best


    TLDR: I'm requesting creating Adguard test website to test all Adguard modules (something like EICAR Standard Anti-Virus Test File for anti-virus software to check if everything works fine) to help finding and resolving potential issues with our software and configuration.

    There is some work to do if you decide to create such site but it can be helpful IMHO. If you think it's horrible idea, feel free to bin this thread.

    What do you guys think about this?
     
    Last edited by a moderator: Aug 30, 2014
  2. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    Hi buuuu!

    We thought about creating such website some time ago.
    In the end we have given up.

    The problem is that the number of different website configurations is too big and it's too difficult to implement them all on one test website.
    It's really easier to find the number of different real websites than implementing it.
     
  3. mysteriously

    mysteriously Beta Tester & Translator

    Joined:
    May 4, 2014
    Messages:
    508
    :) Yes, you're right. Thanks for reply

    One of the reasons I requested this is because of possible compatibility issues with Chrome running inside Sandboxie. I think Sandboxie needs some special rules for Adguard (rules like many other software) to run properly with it. I will post thread when things with Chrome stabilize. V37 and above has some issues with Sandboxie + "massive code rewrite" just for chrome.
     
    Last edited by a moderator: Sep 2, 2014
  4. Dolfi

    Dolfi Banned

    Joined:
    Nov 21, 2014
    Messages:
    218
    What could be handy was a simple test site which just displays an "ad" like a banner saying "AdGuard is NOT working on your machine" (and, preferably, the IP address of the request), so one could simply and reliably check if adguard is working at all or circumvented.
     
  5. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    Good idea, thank you!

    Check it out:
    http://static.adguard.com/test.html
     
  6. Dolfi

    Dolfi Banned

    Joined:
    Nov 21, 2014
    Messages:
    218
    Is that lazy cat the AdMuncher developers work attitude? :p


    BTW: If you have PHP on that server, couldn't you add

    to that site?


    EDIT: @avatar: You appear to have *way* too much time!
    @all: Reload that page several times (CTRL-F5), IMHO it's worth it :)
     
    Last edited by a moderator: Nov 21, 2014
  7. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    The page is static

    Hehe, it's just friday:)
     
  8. Dolfi

    Dolfi Banned

    Joined:
    Nov 21, 2014
    Messages:
    218
    So I got an assignment for you for tomorrow: :cool:
    Would you please add HTTPS testing code to that page so that one not only sees if AG is filtering at all but also if only HTTP or both, HTTP + HTTPS are filtered?
    (Quick'n'dirty: load same script per HTTPS)

    Also it would make testing easier (remembering the URL, faster typing) if test.html was the DirectoryIndex of the some easily memorizable VirtualHost like http://tst.adguard.com


    Thank you,
    Dolfi
     
  9. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    There is an easier way:)

    You may check HTTPS://static.adguard.com/test.html and see if it's filtered or not.
     
  10. Dolfi

    Dolfi Banned

    Joined:
    Nov 21, 2014
    Messages:
    218
    YAY! Classical vendor, mixing up "easier for vendor" /w "easier for customer".
    Easy for me (remember: paying customer) was to have a short, easily momorizable URL which showed the actual state. a.k.a. "DashBoard".

    Pls get to know the idea of a dashboard:
    i.e. just typing tst.adguard.com which showed my filter states for HTTP as well as HTTPS instead of having to open http://static.adguard.com/test.html (which actually takes way longer than necessary due to "niceness") and then having to type https://static.adguard.com/test.html to find out about HTTPS state.

    regards, Dolfi

    (P.S. sorry, pissed anyway right now (not about you), might express myself even less polite than usual)
     
  11. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    Let's do it next friday, it's not that simple
     
  12. Dolfi

    Dolfi Banned

    Joined:
    Nov 21, 2014
    Messages:
    218
    It was if you permanently hosted an element (https://...*.jpg) which you blocked by a permanent rule.
    Add a simple IMG to your current page, the source jpg shows the Text "HTTPS scanning disabled", the ALT TXT shows (in <h2> or <h1>) "HTTPS scanning enabled".

    Might not be as "nice" as the green clicki-bunti interface but functional and fast and reliable.


    HTH,
    Dolfi

    P.S. I stole your test page, resized the image to 200px, made the en/disabled <h1>. This is functionality vs. design (though I know and accept that you have to deal with these common ppl responsible for nowadays beautiful but unfunctional UIs)
     
    Last edited by a moderator: Dec 21, 2014