Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 6
»
How to prevent participants from running an Inquisit experiment on...
How to prevent participants from running an Inquisit experiment on mobile devices?
Post Reply
Like
0
How to prevent participants from running an Inquisit experiment on...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Jakob
Jakob
posted Last Month
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 19,
Visits: 62
Hi everyone,
I am trying to prevent participants from running my Inquisit experiment on mobile devices (e.g., smartphones running Android or iOS). I initially tried the following code:
<expt>
/onexptbegin = [
if (computer.os = "ios") script.abort(true);]
</expt>
However, I get the error message: 'computer.os' The expression attempts to set the value of a read-only property.
What would be the correct way to check the operating system or device type and terminate the experiment if it's running on a mobile device? I only want participants to do the script on a regular computer.
Thanks in advance for your help!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How to prevent participants from running an Inquisit experiment on...
Tahwan
-
Last Month
You are using the wrong operator. You are trying to set the...
Dave
-
Last Month
Thanks. That is an easy fix!
Tahwan
-
Last Month
Post Reply
Like
0
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search