DAWebpageHeader - danopia/deviantart-difi GitHub Wiki

getHeaderHTML

Returns the DeviantART webpage header in HTML format. Pretty much just contains the menubar.

Usage

  • Whenever the dA javascript wants to reload the page header.
  • Known to be used when logging in via AJAX.
  • Can be called to acquire information about currently logged in user.

Params

  • None

Response

Returns a standard Dialog-like object:

{"html":"<td class=\"oh-hasmenu oh-hashover oh-mmain  oh-eax\"> . . . <\/td>",
 "navbar":"<div id="navbar-menu"> . . . </div>",
 "css":"",
 "dwaitcalls":[],
 "pageData":[
     "deviant":[ . . . ]]
 "deps":[
   ["v6core.css","http:\/\/st.deviantart.net\/css\/v6core.css",89880295906,{"media":"Screen,Projection,TV"}],
   ["v6loggedin.css","http:\/\/st.deviantart.net\/css\/v6loggedin.css",11857665462,{"media":"Screen,Projection,TV"}],
   ["v6core_jc.js","http:\/\/st.deviantart.net\/css\/v6core_jc.js",113139965228,null],
   ["v6loggedin_jc.js","http:\/\/st.deviantart.net\/css\/v6loggedin_jc.js",37535503162,null]],
 "title":null}}
⚠️ **GitHub.com Fallback** ⚠️