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)


 * at the beginning of a MediaWiki page is blocked by the spam filter. Duskey ( talk ) 19:29, August 28, 2010 (UTC)
 * Yeah, I know that. Read through my previous edit again. -- ◄mendel► 21:03, August 28, 2010 (UTC)
 * Right, I missed that. It's jungle out there with all those scripts. I tried 4 different, each with a different result. Either it doesn't work with IE, Firefox, Opera or it doesn't work at all. I'll keep looking, but the technical stuff on our side works now. Thank you for your help. Duskey ( talk ) 09:30, August 29, 2010 (UTC)