User:Wouterstomp/Bookmarklet
From Wikipedia, the free encyclopedia
To use Wouterstomp's handy bookmarklet that uses Diberri's tool to make a wikipedia reference when used on a PubMed abstract page, do the following:
-
- Create a bookmark within Internet Explorer (i.e. Favorites >> Add to Favorites...) with a suitable name.
- Then right click on the bookmark just created and select Properties
- Paste across to the URL box the following javascript line in its entirety: javascript:(function(){var url = location.href;var pmid = url.match(/list_uids\=(\d+)/);if( pmid ) w=open('http://diberri.dyndns.org/wikipedia/cite/?type=pmid&id=' + pmid[1],'add','width=800,height=300,scrollbars,resizable');})();
- When the Bookmarklet is clicked whilst on a PubMed abstract page, it will open a new window with the properly formatted wikipedia citation for the article. The { {cite journal} } template may now be copied and pasted across.