Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
name: '',
url: '',
icon: '',
domains: [ '' ],
sessionCookieNames: [ 'MoodleSession', 'MoodleSessionTest' ],
identifyUser: function() {
var site = this.httpGet('');
this.userName = site.body.querySelector('div.logininfo a').text;
this.userAvatar = site.body.querySelector('img.userpicture').src;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.