Difference between revisions of "User:Andr3w"

From ProgZoo
Jump to navigation Jump to search
Line 2: Line 2:
Set the question type using
Set the question type using
   <pre id='shellbody' data-qtp='DOM'></pre>
   <pre id='shellbody' data-qtp='DOM'></pre>
* canvas
** in this case we create a canvas element, call drawFlag with the 2d context, report the bitmap to score.php
* DOM
** in this question type after usr.js has executed pass document.body.innerHTML to score.php
* fect
** intercept fetch calls, after the promise has been resolved pass document.innerHTML to score.php

Revision as of 18:15, 21 August 2021

Notes on question type qtp: Set the question type using

 <pre id='shellbody' data-qtp='DOM'></pre>
  • canvas
    • in this case we create a canvas element, call drawFlag with the 2d context, report the bitmap to score.php
  • DOM
    • in this question type after usr.js has executed pass document.body.innerHTML to score.php
  • fect
    • intercept fetch calls, after the promise has been resolved pass document.innerHTML to score.php