Last active
November 16, 2015 13:50
Revisions
-
havarnov renamed this gist
Nov 16, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
havarnov revised this gist
Nov 16, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ ````html <script type="text/javascript"> var sessionData = {"logged_in":true,"eduPrincipalName":"aelev2@feide.no","organization":null}; @@ -10,4 +11,5 @@ } window.parent.postMessage(sessionData,referrer); </script> ```` -
havarnov created this gist
Nov 16, 2015 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ <script type="text/javascript"> var sessionData = {"logged_in":true,"eduPrincipalName":"aelev2@feide.no","organization":null}; var domains = ["https:\/\/les-test1.unibok.no:7021","https:\/\/les-test1.unibok.no:7011","https:\/\/les-test2.unibok.no:7021","https:\/\/les-test2.unibok.no:7011","https:\/\/local.unibok.no:7011","file:\/\/"]; sessionData = JSON.stringify(sessionData); var referrer = document.referrer; if(!referrer){ referrer="file://"; } window.parent.postMessage(sessionData,referrer); </script>