Skip to content

Instantly share code, notes, and snippets.

@DMcP89
Last active September 13, 2017 01:48
Show Gist options
  • Save DMcP89/b41d9c66355f40c1786329f333a5bb36 to your computer and use it in GitHub Desktop.
Save DMcP89/b41d9c66355f40c1786329f333a5bb36 to your computer and use it in GitHub Desktop.
Fantasy Pros research assistant
if(window.location.href.indexOf('http://mpbnfl.fantasypros.com/bookmarklet/') != 0){pfsport='nfl';function install_ra(){var c=document;var a=c.getElementById('researchassistantjs');if(!a){var d=c.createElement('script');d.setAttribute('id','researchassistantjs');if(c.body.childNodes.length>0){c.body.insertBefore(d,c.body.childNodes[0])}else{c.body.appendChild(d)}var b=new Date();d.setAttribute('src','https://cdn.fantasypros.com/bookmarklet/research_assistant_secure.js?'+b.getYear()+'-'+b.getDate()+'-'+b.getMonth())}else{if(playercardGenerator&&pfsport){playercardGenerator.setDefaultSport(pfsport);playercardGenerator.refreshData()}}}install_ra();}else{document.getElementById('cell1').className='AlertDiv';javascript:void(0);}
{
"name": "FP Assistant",
"description": "A Backtick Fantasy Pros research assistant command.",
"icon": "https://backtickio.s3.amazonaws.com/icons/backtick.png"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment