Script Summary: Adds a button to Literature to toggle the viewing area width to fill the page.
This script adds a button labeled with an "F" to every piece of literature on DA. When clicked, the button extends the width of the literature viewing area to take up the whole screen. If clicked again, the stats of the deviation will reappear as everything returns to the default settings.
Also available as a Stylish style and a bookmarklet (copy the below code and save it as a "New Bookmark", but make sure to remove the space between < and a).
javascript: document.body.innerHTML+='<style></style>'; function b(){document.getElementById('lit-view').getElementsByTagName('div')[0].innerHTML+='< a onclick="a(); return false;" class="t-font" href="">F'} setTimeout('b()',5); void(0); function a(){var css=document.getElementById('extcss'); if(css.innerHTML!=""){css.innerHTML="";void(0);} else{css.innerHTML+="table.f[align=center] {width: 100% !important;} #gmi-ResourcePageDisplayPane {width: 100% !important;} .shadow{text-align: right !important;}"; css.innerHTML+='table.f[align=center] {margin-top: -' + (document.getElementById('lit-view').getElementsByTagName('table')[0].offsetTop - 32) + 'px !important;}';}}
Changes:
ver1.0.6.8. Initial release
1.0.6.9. Added changelog
Fixed bug causing large space above fullview non-lit art
Fixed gap above lit pieces
1.1.6.9 Auto-detect and correct varying gaps above lit piece
1.2.6.12 Remove bottom gaps on short lit pieces



