In the previous question, I tried to implement a test questionnaire link of the 1st question here and found an interesting example of a computer science teacher link in the first question. Now I decided to complicate the task and make a restriction of attempts to pass the test, as well as implement a countdown timer on the page. Question to programmers: tell me by example how to block a page, that is, the page should open completely on the entire browser, blocking the menu and address bar, so that the user being tested would not be able to save test questions, the right mouse button should also be blocked. Write your suggestions.

    2 answers 2

    No You can always copy content. Even if you block the mouse completely for opera via DragonFly for FireBug Mozilla.

    Block the address bar is also impossible. It can be hidden by opening the page as a pop-up window. but with one click of the mouse, it will return to its place.

    You can simply deploy the divas in full screen with Javascript and Ajax to make friends infu (save them from modifications with the address of the string for the get parameters). but from the above will not save.

    And if someone really wants, then Charles will deliver and listen to the packages, modifies and voila.

    It remains only to limit on the server side (Php) to record attempts for IP + login.

      You can not block in any way.

      The only way out is to track the way out of the current browser window, i.e. if the window becomes inactive, then close the session and do not give further continuation of the test.

      This is necessary so that he does not rummage through other sites in search of an answer, does not climb into other programs, but passes the test in the given window.

      Content is always possible to steal, even if he writes questions with pictures - this is by the way even steeper.

      Yes, let him give questions, because there can be 1K of them in the test, and only 20-30 are given for passing, let him then look for all the 1K questions and answers to them ... this is boring and time consuming.

      Thesis itself was written by the System of Testing Knowledge Based on the Client-Server Architecture, composing questions and answers on Delphi, the rest is PhP and Muscle with JS.

      Normal project turned out. He still works in my college and with his help everyone’s tests. so far no one has even finished that which is nice.

      There are many conditions for passing the test. I will not describe everything.

      In general, something like that.