Jump to content

User talk:Xenocidic/statusChanger2.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Abc123456person (talk | contribs) at 06:45, 24 February 2012 (→‎Improvement...: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Soft redirect to:User talk:Xeno
This page is a soft redirect.


Small addition

I'm sorry but my knowledge of JavaScript seems to be at its limits. Would it be possible to add &action=purge to the links so that the status on the userpage and and usertalk can update? I created a modified statustop that has a button I can click on each page to refresh the status, but it would be cool if the statuschanger could just do that by itself. Hope to hear from you soon. --Kraftlos (Talk | Contrib) 04:18, 4 January 2009 (UTC)[reply]

Hrm, I apologize for the delay in answering this. Unfortunately I have to admit I'm not very good with .js myself. I only made minor changes to the script when I stole it from the previous owner =) –xeno (talk) 05:48, 23 January 2009 (UTC)[reply]

Other Skins

Is this intended to work on other skins beside monobook? Lantrix ::Talk::Contrib:: 08:57, 22 July 2009 (UTC)[reply]

Again, sorry for the late reply. I've never tried it on other skins... It should work in theory. If not you might post at Wikipedia talk:WikiProject User scripts for assistance... –xenotalk 01:10, 14 August 2009 (UTC)[reply]

Additions

I've made a few improvements to this code User:Kraftlos/statusChanger2.js, I added a link for "sleep" status which was already built into Template:Statustop. I was then presented with the problem of having the rollover text tell me "I'm sleep!". So I fixed it because I didn't want to see engrish every time I used it. Let me know if you find this modification useful! --Kraftlos (Talk | Contrib) 12:28, 23 November 2009 (UTC)[reply]

Thanks - synchronized =) –xenotalk 17:38, 18 May 2010 (UTC)[reply]

Doesn't work in IE?

It seems this script doesn't work properly in IE. I think it's because status is a keyword. Changing the line status = statusRegExp.exec(location.href)[1]; into var status = statusRegExp.exec(location.href)[1]; should fix it. Svick (talk) 15:33, 8 May 2010 (UTC)[reply]

 Done [1]. –xenotalk 17:48, 18 May 2010 (UTC)[reply]

Improvement...

you know... I think I could make this into something more intuitive, and I am not talking about the end product. But I could give it a home page. Etc.