Recent posts by yeti_c

Subscribe to Recent posts by yeti_c 11 posts found

Jan 25, 2008
yeti_c 11 posts

Topic: Script development / Including JS files in a GM userscript...

I woudln't be adding the "scriptaculous" as part of the package - I'd want to use it as a static resource...

So the best way (currently) would be to talk the owner of the site into including the JS in the pages that I need it?

Until GM 0.8 comes out.

C.

 
Jan 24, 2008
yeti_c 11 posts

Topic: Script development / Including JS files in a GM userscript...

At the moment my script works very well - but I want to improve my menu...

I was hoping to use some funky effects from scriptaculous...

However - to do that I need to add the JS files to my Script...

Is there a way to run include statements from within a GM script?

C.

PS I did a search but didn't find anything!

 
Jan 22, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / Moderators

I do apologise for this - I was unaware as to how many times the script would be downloaded with the coding that I had done...

I have since recoded to download less often - and to download the support script from a different site.

The main script I am hosting here is very popular (more so than I'd imagined)... BTW - I'm not associated with the site it is used on whatsoever... if I was - then I would get the site to host it itself.

C.

 
Jan 22, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / problems with greasemonkey 20080121

Yesterdays version was a bit buggy - one of my users had a problem...

I suggest reupgrading GM again... and then see if your script works again.

C.

 
Jan 22, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / My Script has disappeared!?

I have now reworked the script to a different host... but am a bit concerned that the Beta script is unlisted...

The check was something one the users asked for so that I could inform them when I'd upgraded the script.

Does that mean it will be removed? If not then I'm happy for it to be unlisted as that means the usual downloaders will have more difficulty finding the beta script - which is really meant for the beta users...

C.

PS - Also I looked for the rules of the site - but I can't find them!?

 
Jan 22, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / My Script has disappeared!?

Edit - actually my Beta script is still there - although only if I click on my username...

In my release script - it says I have "no other scripts"!? Weird.

C.

 
Jan 22, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / My Script has disappeared!?

Hi Jesse,

I was using it as a support script for my main script - this was to trigger an "Update Available" bit of coding written with the main script...

I realised that I was calling this too many times - and in the latest version I have reduced the check to every page load - instead of every action (AJAX is on the site and each action could be a lot!)

Whilst on the same note - Another one of my scripts has now disappeared...

I had 2 versions of the same script - one for general release and one for beta release (uploaded for a few testers) but the Beta release version has now disappered?!

What are the rules on this ? - I apologise if I've broken any of them - But I didn't realise that I had?!

C.

 
Jan 21, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / My Script has disappeared!?

But it wasn't spam?!

C.

 
Jan 20, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / My Script has disappeared!?

Hi There,

Recently I created a script on here - but it has now disappeared?!

Can you tell me where it went?

It was here... http://userscripts.org/scripts/show/20326

Cheers,

C.

 
Jan 11, 2008
yeti_c 11 posts

Topic: Script development / Help/Info Text Popup with Anchor tags

Hi There,

I've created a GM script - but I've got a small problem - I've written a help text for it...

Like -

function addBody(tlog)
{
var helpHtml = (<r><![CDATA[ <br /> <br /><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <br /><html><head><title>Conquer Club - BOB - Help/Info</title></p> <p> ...</p> <p></body></html> <br /> ]></r>).toString();
return helpHtml;
}

Which I pop in a seperate window...


function showHelp(tlog)
{

var win = window.open("","bobHelp","height=600, width=600, toolbar=yes, scrollbars=yes, menubar=no");
win.document.write(addBody(tlog));
win.document.close();
win.focus();
}

Now in my help text I have some Anchor tags - to allow the help text user to jump around easily...

i.e.

Diagnostics below.

that links to

Diagnostics

However - the href that is created - appends the parents HREF to it - i.e.

www.wherever.com/blahblah.html#diagnostics

Any ideas on how to get round that?

C.

PS - Lame tags don't work on mu hrefs!

 
Jan 11, 2008
yeti_c 11 posts

Topic: Userscripts.org discussion / Spam and malware

http://userscripts.org/users/39332 = Spam user

Ladled some spam into my script http://userscripts.org/scripts/show/13076

Would be most appreciative if you could remove both?!

C.