Comments by jumper4000 on scripts

23 comments

Comment on:
MySpace Picenlarge++

Jul 2, 2008

Here are some answers to your questions,

Jenn, Yeah I hate those Flash ads too. Install this script to get rid of them, http://userscripts.org/scripts/show/7350

3badpugs, There's a bug that every once in a while causes that. Usually, if you refresh the page, it corrects itself... I've been planning to fix it, but haven't had the time

StarDogg, I'm not too sure, but I highly doubt it.

Comment on:
MySpace - Home Auto-Update (beta again)

Jun 24, 2008

I agree with Joe B., please move the options all the way down bellow. thanks.

Comment on:
MySpace Birthdays on Homepage

Jun 18, 2008

Excellent, thank you... Everything is working now.

Comment on:
MySpace Birthdays on Homepage

Jun 18, 2008

Thanks a ton, that worked great... One last and very minor issue is that before it used to highlight today's birthdays, but now it doesn't... That's really no big deal at all, but I just wanted to give you a heads up... Thanks again for the very great work :)

Comment on:
MySpace Birthdays on Homepage

Jun 18, 2008

Hi, for some reason, the birthdays don't sort any more, and this is a huge pain for people with a lot of friends... Can you please fix it, when you get the chance?? thanks man.

Comment on:
MySpace - Home Auto-Update (beta again)

Jun 13, 2008

InsaneNinja, you left a comment on my script - http://userscripts.org/scripts/show/25735, and I wanted to post a reply to it here as well, so you see it... this is what I said,

InsaneNinja, I don't mind using your home-auto-update script at all. In fact, I like it very much, but the thing is that I have over 1,500 friends and your script doesn't show the bulletins anymore (it used to). Also, even when yours used to work on profiles with more than 1,500 friends, it still wouldn't show the "view all | view mine | post" buttons properly. So, I made this one specifically for people with over 1,500 friends... If you ever update yours to address these issues, we can stop using this one :)

Comment on:
MySpace Bulletins

Jun 13, 2008

InsaneNinja, I don't mind using your home-auto-update script at all. In fact, I like it very much, but the thing is that I have over 1,500 friends and your script doesn't show the bulletins anymore (it used to). Also, even when yours used to work on profiles with more than 1,500 friends, it still wouldn't show the "view all | view mine | post" buttons properly. So, I made this one specifically for people with over 1,500 friends... If you ever update yours to address these issues, we can stop using this one :)

Comment on:
MySpace Bulletins

Jun 2, 2008

updated the include page, so it works again.

Comment on:
MySpace Picenlarge++

May 28, 2008

Billy, if you edit the code, you'll notice that on the first two lines you have the option to change the size. Maybe later on I'll add the option to remove all the extra information... How does it interfere with Add ImageLinks 2 though? it seems fine to me.

Comment on:
MySpace Picenlarge++

Apr 29, 2008

If you notice any bugs with this, please let me know.

Comment on:
MySpace Bulletins

Apr 29, 2008

let me know if you notice any bugs with this.

Comment on:
Craigslist Driving Time

Apr 27, 2008

what you want to look at for saving variables are GM_setValue and GM_getValue. Take a look at these pages for instructions,
http://diveintogreasemonkey.org/api/gm_setvalue...
http://diveintogreasemonkey.org/api/gm_getvalue...

for auto-update, look at this script,
http://userscripts.org/scripts/show/2296

hope this helps.

Comment on:
MySpace - Home Skin Switchup

Apr 18, 2008

If you're like me, with too many friends, and don't see the "View All" link under enhanced bulletins anymore, just add the bellow code right after this line,
view_all.parentNode.insertBefore(document.createTextNode(' | '), view_all)

var view_all2 = document.createElement('a')
			view_all2.setAttribute('href', 'http://bulletins.myspace.com/index.cfm?fuseaction=bulletin')
			view_all2.innerHTML = 'view all'
			
			view_all.parentNode.insertBefore(view_all2, view_all)
			view_all.parentNode.insertBefore(document.createTextNode(' | '), view_all)

Comment on:
MySpace - Home Auto-Update (beta again)

Apr 17, 2008

I don't know how my code changed bellow, but this is the code you want to change with lines 394 through 403,

                html = responseDetails.responseText.replace(/\t|\r|\n|\s\s/g,'').match(/<table id = "bulletin_inbox".+?<\/table>?/);			
				$('tblbulletins').innerHTML = html[0].replace(/\/m_/g,'/s_').replace(/_m./g,'_s.').replace('200px','80px');

Comment on:
MySpace - Home Auto-Update (beta again)

Apr 17, 2008

For now, while InsaneNinja works on a better fix, if you want your enhanced bulletins back try this,

replace lines 394 through 403 with this,

 html = responseDetails.responseText.replace(/\t|\r|\n|\s\s/g,'').match(/<table><\/table>?/);			
				$('tblbulletins').innerHTML = html[0].replace(/\/m_/g,'/s_').replace(/_m./g,'_s.').replace('200px','80px');

Replace this line,
+ '.hau_eBuls img { max-width: 45px; max-height: 40px; }'
with this,
+ '.hau_eBuls img { width: 45px; max-height: 80px; }'

and on line 109 set ENHANCED_BULLETINS back "true"

Comment on:
MySpace - Home Auto-Update (beta again)

Apr 4, 2008

Hi Ninja,

It works great, but how soon do you think we'll have the enhanced bulletins back? without it, those of us with more than 1,500 friends can't see the bulletins. Also, with recent versions, I noticed that under Enhanced bulletins, I didn't have the "view all" link anymore. maybe it's because I have too many friends. Would you be able to fix that?? Lastly, before I had the view "new" friends option up top in the friend space (next to friend count). Now it's down the bottom. could you please put that back up top?
Thanks a ton for your great scripts. keep up the good work :)

Comment on:
MySpace - Add Image Links 2

Mar 24, 2008

this script doesn't work with the new friends pages anymore. thanks.

Comment on:
MySpace Birthdays on Homepage

Jan 3, 2008

Thanks man, this script is great.

Comment on:
MySpace Birthdays on Homepage

Dec 18, 2007

great script, but would it be possible to sort the birthdays?

Comment on:
MySpace - Home Skin Switchup

Oct 26, 2007

Thanks insaneNinja. but i think you forgot to post today's new script. when we go to install it, it says it's still from the 24th :)

Comment on:
MySpace - Home Skin Switchup

Oct 25, 2007

This is a great script and thanks for all your hard work, but I HATE the new scrolling feature. I know some people like it, so would it be possible to make it optional? thanks

Comment on:
MySpace - Add Image Links 2

Sep 11, 2007

Wow, what an outstanding script. excellent work. the beta is just awesome. thanks a lot... do you think it would at all be possible to make it so when we scroll over an image we get a balloon showing basic info, like age and location? that would make this script extra superior. thanks very much.

Comment on:
MySpace Image Rollover

Jun 28, 2007

Great script. thanks Mark, and thank you Graig for the modification to move the image to the right if it's covered by mouse. here's the full script including Craig's changes in case any of you need it:


// ==UserScript==
// @name MySpace Image Rollover
// @namespace http://www.lessel.us/
// @include http://*.myspace.com/*
// ==/UserScript==
// By: Mark Lessel
// Email: mark@lessel.us
// Based on a script from Justin Rosenthal

var allImages, thisImage;
var globalTimer;

allImages = document.evaluate(
'//img[contains(@src, "ac-images")]',
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);

// Holds paths of all the enlarged images
imgArray = new Array( allImages.snapshotLength * 2);

i=0;
while (i < allImages.snapshotLength) {

thisImage = allImages.snapshotItem(i);

// Example of photo src --> 03/31/2006
// http://photos-420.facebook.com/images/profile/628/72/t9999999_99999.jpg
// want to change the 't' to an 'n' for large image
var src = thisImage.src;
//var path = src.substring( 0, src.lastIndexOf('/') + 1 );
//var fileName = 'n' + src.substring( src.lastIndexOf('/') + 2, src.length);

var fileName = src.replace("_m.jpg","_l.jpg");
fileName = fileName.replace("/m_","/l_");
fileName = fileName.replace("_s.jpg","_l.jpg");
fileName = fileName.replace("/s_","/l_");

thisImage.alt = i;
imgArray[i] = fileName;
imgArray[i + allImages.snapshotLength] = src;

var newDiv = document.createElement('div');
var html = "

";
newDiv.innerHTML = html;
document.body.appendChild(newDiv);

thisImage.addEventListener(
'mouseover',
function(event) {
var x = event.pageX;
var y = event.pageY;
var z = 't' + this.alt;
var screeny = event.screenY;
globalTimer = window.setTimeout(
function() { popUp(x,y,screeny,z); }, 500);
},
true);

thisImage.addEventListener(
'mouseout',
function(event) {
window.clearTimeout(globalTimer);
document.getElementById('t' + this.alt).style.visibility = "hidden";
},
true);

i++;
}

function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}

addGlobalStyle('.tip {font:10px/12px Arial,Helvetica,sans-serif;border:0;padding:3px 3px 3px 3px;visibility:hidden;position:absolute;z-index:100;color:#333333;top:20px;left:90px;background-color:#3B5998;}');
addGlobalStyle('.tip img {border:2px solid white;}');

function popUp(pgX,pgY,screeny,oi){
var winWidth = window.innerWidth;
var winHeight = window.innerHeight;
objStyle = document.getElementById(oi).style;
obj = document.getElementById(oi);
objWidth = obj.offsetWidth;
if (objStyle.visibility == "visible") {
objStyle.visibility = "hidden";
}
else {
//if ( (pgY + obj.offsetHeight) > winHeight )
// var top = pgY - obj.offsetHeight - 20;
//else
var top;
var left;

if ( ( pgX - 40 ) < obj.offsetWidth )
{
if ( ( screeny - 200 ) < obj.offsetHeight )
left = (winWidth - obj.offsetWidth - 20)
else
left = 10;
}
else
left = 10;

top = pgY - screeny + 170;

objStyle.left = left;
objStyle.top = top;
objStyle.visibility = "visible";
}

}