User:Sunshouxing/common.js

mw.loader.using(['jquery.ui'], function {

$(document).ready(function {		console.log(mw.user.tokens.get( 'csrfToken' ));	}); });