Update init.js
diff --git a/init.js b/init.js
index f0bb857..b9043d5 100644
--- a/init.js
+++ b/init.js
@@ -6,10 +6,13 @@
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
- dtps.log(this.responseText);
+ console.log(this.responseText);
}
};
xhttp.open("POST", "https://dtechhs.learning.powerschool.com/u/10837719/portal/portlet_reportcard?my_portal=true", true);
+ xhttp.setRequestHeader("Accept", "text/javascript, text/html, application/xml, text/xml, */*")
+ xhttp.setRequestHeader("Accept-Language", "en-US,en;q=0.9")
+ xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded; charset=UTF-8")
xhttp.setRequestHeader("X-Prototype-Version", "1.7.1")
xhttp.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhttp.send("id=9915857+10145967+9715213+9915843+9915882&e=15668509&csrf_token=823f04b43cd4b367d8bd67070702a86983d29f4e");
+ xhttp.send("id=9915857+10145967+9715213+9915843+9915882&e=15668509&csrf_token=a6b227ce5120182257f86aab1815027b273f429e");