Skip to content

Instantly share code, notes, and snippets.

@dudadornelles
Last active September 20, 2018 12:33
Show Gist options
  • Save dudadornelles/c3b2cd216af221204756aefbf9117b69 to your computer and use it in GitHub Desktop.
Save dudadornelles/c3b2cd216af221204756aefbf9117b69 to your computer and use it in GitHub Desktop.
Improves spacing an the FIFA 19 webapp. Create a bookmark and put this code as the url, then run it once you've opened the webapp
javascript:(function(){
setInterval(function(){
document.getElementsByClassName('view-root')[0].style['height'] = '100%';
document.getElementById('FIFAHeader').style['display'] = 'none';
document.querySelector('.layout-hub') && (document.querySelector('.layout-hub').style['padding']=0);
document.querySelector('.ut-content') && (document.querySelector('.ut-content').style['border']='1px')
&& (document.querySelector('.ut-content').style['max-height'] = '100%')
&& (document.querySelector('.ut-content').style['max-width'] = '90%');
document.querySelector('#ut-search-wrapper .ut-content-container') && (document.querySelector('#ut-search-wrapper .ut-content-container').style['padding'] = '0px')
},200)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment