Interactive Teachnouvelle Book Hack

This will get a FREE KEY to any book, and give you all the answers (In only 14 lines of code!).

  1. // ==UserScript==
  2. // @name Interactive Teachnouvelle Book Hack
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description This will get a FREE KEY to any book, and give you all the answers (In only 14 lines of code!).
  6. // @author You
  7. // @match https://interactive.teachnouvelle.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=teachnouvelle.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. if(document.cookie == "") {
  15. var bookid = document.getElementsByTagName('body')[0].className.substring(document.getElementsByTagName('body')[0].className.indexOf('postid') + 7).split(' ')[0];
  16. document.cookie = "book_"+bookid+"=yes"
  17. location.reload()}
  18. var answer = document.getElementById('correct-1').value.split(',')[0];
  19. document.getElementsByClassName('txtAnswer')[0].value = (answer)
  20. let ans = prompt("Here is the answer", (answer));
  21. if (ans != null) {
  22. setTimeout(() => { $('#question_submit button').click(); }, 500);}
  23. else {setTimeout(() => { $('#question_submit button').click(); }, 500);}
  24. var nextlink = document.getElementsByClassName('is_bookpage_nav content_block')[0].children[0].children[0].href
  25. window.location.href = nextlink
  26. })();