function lti_launch(data, target) {
var form = document.createElement("form");
document.body.appendChild(form);
form.action = "../../pso-lti-BBLEARN/admin/launch#" + Math.random();
form.method = "post";
if (target) {
form.target = target;
}
for (key in data) {
var input = document.createElement("input");
input.type = "hidden";
input.name = key;
input.value = data[key];
form.appendChild(input);
}
form.submit();
}
We could parse custom links for lti_launch(...), being careful not to allow code injection, then simulate lti_launch. This would save one click when opening Mastering Physics.
The Mastering Physics link is
where
lti_launch
is defined asWe could parse custom links for
lti_launch(...)
, being careful not to allow code injection, then simulate lti_launch. This would save one click when opening Mastering Physics.