Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

jatso study and browser type

Hi All,

I have two studies that combines components of JsPsych and OSWeb on Jatos. This is a linear study that allows reload.

The study generally works, but I have a participant that tried both studies and each time something went wrong. I tired the study immediately after with the same link and it all worked fine. So I want to ask, does JATOS have different browser compatibilities? I use Chrome, but what if the participant uses another browser on which JATOS is less stable? Is that even possible? I am just wondering how the same person can have a fail with two different, but equally set up, studies.

Thanks,

Marta

Comments

  • edited February 3

    Hi Marta,

    In general, it can be pretty hard to diagnose problems on participants' side (the client-side) because you don't know what really happened, unless they share e.g. a screenshot of their browser and console. If you know the participant, it's always helpful to ask them to do that.

    The browser is definitely a possible reason. Different browsers do differ in whether they have implemented different functions, and also how tolerant they are on missing semicolons etc. I don't think that compatibility between a browser and JATOS is the reason, because the functions used in JATOS are generally implemented in all browsers. On the other hand, I see your point: if it failed with both an OSWeb study and a jsPsych study, JATOS seems to be a more likely explanation.

    It is good practice, and should be standard, to (1) check that your study runs on all browsers and (2) restrict your study to run only in those browsers that you checked.

    You could use something like this to ensure that people can only run your study in Chrome.

    function checkBrowser() {
        var browserInfo = getBrowserInfo();
        switch (browserInfo.browser) {
            case "Chrome":
                break;
            default:
                document.write('<center><br/><p class="instructions">This experiment only supports Google Chrome</p>' // or Mozilla Firefox.
                    + '<p class="instructions">Please reopen the experiment in Chrome.</p>');
                break;
        };
    };
    
    function getBrowserInfo() {
            var ua = navigator.userAgent, tem,
                M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
            if (/trident/i.test(M[1])) {
                tem = /\brv[ :]+(\d+)/g.exec(ua) || [];
                return 'IE ' + (tem[1] || '');
            }
            if (M[1] === 'Chrome') {
                tem = ua.match(/\b(OPR|Edge)\/(\d+)/);
                if (tem != null) return tem.slice(1).join(' ').replace('OPR', 'Opera');
            }
            M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?'];
            if ((tem = ua.match(/version\/(\d+)/i)) != null)
                M.splice(1, 1, tem[1]);
            return { 'browser': M[0], 'version': M[1] };
        };
    

    Hope this helps

    Elisa

  • Hi Elisa,

    Thank you for your answer.

    The study has components in JsPsych and OSWeb, but it failed both times in the OSWeb component. And it is true, I am not sure what happened because the definition I got was "stopped working". I did ask some follow up questions, because I have a linear study, so if they tried to go back, it would fail. When I find out which browser was used, I will test it on that.

    I do not have any error messages in my JATSO log, and the study results as not finished yet.

    The study seems to otherwise be working as I am getting results in.


    Marta

  • Ah, I see. I misunderstood. Then it is likely an OSWeb issue. In the JATOS log you'll find any errors related to data transfer to/from the server. If you don't see anything suspicious there, it's likely a JavaScript problem that doesn't get logged on JATOS, because it belongs to the client side.

    When/if you have more information, post a question in the OSWeb forum.

  • Hi Marta,

    You could also try to catch errors in your participant's browsers and write them into the JATOS log. Just put

    jatos.catchAndLogErrors();
    

    somewhere in the beginning of your JavaScript, e.g. in jatos.onload. Maybe there is an error that helps identifying the problem. But this works only since JATOS 3.5.6. And I'd recommend to turn it on only during piloting since it can flood your JATOS log if there are many participants with many errors.

    Best,

    Kristian

    Buy Me A Coffee

  • Hi again,

    The participant apparently used Chrome, which is what I used to set up the task. The task includes images and audio, and it is on the heavy side. But apparently what happened is that the images disappeared completely and the audio kept going.

    Does anyone know how this is possible?

  • Sounds more like an OSWeb or browser issue - not so much JATOS.

    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games