Forum:Browser bookmark javascript

Related wiki: The Sims Wiki

I'd like to add a button which bookmarks the wiki. I can easily find tonnes of javascript which does this, but they all require an  HTML link, which doesn't quite work. Is there a workaround for this? Duskey ( talk ) 20:15, August 26, 2010 (UTC)
 * Write some JavaScript which creates the link (via $("#id").html('...');) -- 22:02, August 26, 2010 (UTC)
 * Put the link in a MediaWiki: page (e.g. MediaWiki:bookmark-url), and then put it on the page with &lt;verbatim> (e.g.  ). Be sure to put a   before the   in your link. (And I wouldn't mind if you shared it.) I'm not sure how you'd get it placed on the sidebar or similar, though. -- ◄mendel► 22:51, August 26, 2010 (UTC)