Difference between revisions of "User:Andr3w"

From ProgZoo
Jump to navigation Jump to search
Line 7: Line 7:
* DOM
* DOM
** in this question type after usr.js has executed pass document.body.innerHTML to score.php
** in this question type after usr.js has executed pass document.body.innerHTML to score.php
* fect
* fetch
** intercept fetch calls, after the promise has been resolved pass document.innerHTML to score.php
** intercept '''fetch''' calls, after the promise has been resolved pass document.innerHTML to score.php

Revision as of 18:16, 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
  • fetch
    • intercept fetch calls, after the promise has been resolved pass document.innerHTML to score.php