User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Greasemonkey Scripts (original thread)
Page:
 
Link
 
Originally posted by scarletmbb
Originally posted by tpaterniti

Can someone write a Greasemonkey script that puts the Delete button at the top of the Inbox instead of the bottom?

Thanks and it would be much appreciated!




Second!
 
Link
 
Delete Button - i'm working on this, but i can't seem to get it to work. i'll keep you updated.

Average Level of Entire Team's Players - this will be real easy to do. i should have it in a few minutes

Scouting Bars on Roster Page - this would take WAY too long to load. rosters usually have 50 some odd people. this would mean that the script would have to query the server over 50 times, making the site 50 times slower than it already is.

Player Tracker - where would this "player tracker" be placed? on the player's profile page? (btw you can get all of that info from the game log)

Forest - it was just HTML specified by what add friend link you click on

Edit: the average level script is giving me some trouble too. maybe it's just because i'm tired. lol
Last edited Jun 9, 2008 08:01:52
 
Link
 
function getElementsByClassName(classname, par)

{

var a=[];

var re = new RegExp('\\b' + classname + '\\b');



var els = par.getElementsByTagName("*");



for(var i=0,j=els.length; i<j; i++)

{

if(re.test(els.className))

{

a.push(els);

}

}





return a;

};

var friend=""
GM_setValue("friends", friend)

var user1=getElementsByClassName('user_name',document)

for (var i=0; i<20; i++)
{
var users1 = user1
var usersfinal=users1.innerHTML



var friendsstuff= GM_getValue("friends") + usersfinal



GM_setValue("friends", friendsstuff)


function addfriend() {

var container=document.getElementById('content')

container.innerHTML = container.innerHTML + GM_getValue("friends")

}
}

var user=getElementsByClassName('user_name',document)

for(var i=0; i<20; i++)
{
var users = user
users.innerHTML = users.innerHTML + '<br><a href=' +
'"javascript:addfriend()">Add Friend</a>'
}



that's the upgraded friend list code so far forest. i can't figure out what i'm doing wrong.
 
Link
 
well crap. any [*i*]'s that were in there made the text italicized. you know where they're supposed to be
 
Link
 
wow, what is this, a quadruple post? lol. i figured this would be helpful to anyone that wants to use it. i made a function that allows you to get the source code of any site by simply typing getSource(site,function). if you want to use this, include it at the top of your script. in place of site, put the web page that you want the source code for. in place of function, type the function you want to use with the source code. the variable sourcecode contains the pages source code, so that is what you will use in your functions. remember, to get information from the source code, you have to use the split() method.


function getSource(site,function) {

//when using the variable sourcecode in your functions, remember

//that you must use the split() method in order to get certain

//variables and values from the source code

newsource = new XMLHttpRequest();

newsource.open("GET",site)

newsource.send(null);

if(newsource.status==200) {

sourcecode = newsource.responseText

function

}

}
 
RandomBeast
offline
Link
 
Originally posted by yomamathecableguy
Delete Button - i'm working on this, but i can't seem to get it to work. i'll keep you updated.


Yeah, that was trickier than I thought it would be because of the construction of the form elements on the page. I did manage to get it working though.

Script available here: http://userscripts.org/scripts/show/28106


 
Link
 
thanx rb. works great.
 
ImTheCrew
offline
Link
 
can some one give me instructions on how to install this script
3. "Highlight Attributes" - Highlights the major and minor attributes of a player for a specific build. Example - http://img155.imageshack.us/my.php?image=buildguideexamplejz4.png
Last edited Jun 9, 2008 10:03:03
 
Cronus6
offline
Link
 
Originally posted by ImTheCrew
can some one give me instructions on how to install this script
3. "Highlight Attributes" - Highlights the major and minor attributes of a player for a specific build. Example - http://img155.imageshack.us/my.php?image=buildguideexamplejz4.png


Have you installed other scripts?

*Note: this script only displays on the "spend skill points" page, not on the player profile page.
Last edited Jun 9, 2008 10:12:13
 
Link
 
http://userscripts.org/scripts/show/27694

go to that link and click the black button that says install script
 
Link
 
Originally posted by ImTheCrew
can some one give me instructions on how to install this script
3. "Highlight Attributes" - Highlights the major and minor attributes of a player for a specific build. Example - http://img155.imageshack.us/my.php?image=buildguideexamplejz4.png


1) Make sure you have installed and are using firefox web browser: http://www.mozilla.com/en-US/firefox/
2) Make sure you install this addon: https://addons.mozilla.org/en-US/firefox/addon/748
3) Click on yomama's script link and click on the black install button: http://userscripts.org/scripts/show/27694
4) Refresh or go to your spend skill points page
Last edited Jun 9, 2008 10:25:53
 
Link
 
Originally posted by Wrath Of Conor
Originally posted by ImTheCrew

can some one give me instructions on how to install this script
3. "Highlight Attributes" - Highlights the major and minor attributes of a player for a specific build. Example - http://img155.imageshack.us/my.php?image=buildguideexamplejz4.png


1) Make sure you have installed and are using firefox web browser: http://www.mozilla.com/en-US/firefox/
2) Make sure you install this addon: https://addons.mozilla.org/en-US/firefox/addon/748
3) Click on yomama's script link and click on the black install button: http://userscripts.org/scripts/show/27694
4) Refresh or go to your spend skill points page


How does one remove a script, I don't care for this one. For one, it doesn't highlight the skills correctly for my player. Secondly, I thought that it would highlight my numbers on my player page profile not the spend skill pts screen which doesnt matter. I just thought it would be cool if my teammates could see my important attributes highlighted for when they look at my player.
 
RandomBeast
offline
Link
 
Tools>Greasemonkey>Manage User Scripts

Find the script by its name on the left and click on it.

Then click the uninstall button near the bottom center of the window.
 
Link
 
Oh ok I see that part, but here's where I'm confused. I clicked on 2 of them yesterday, the one for the skill highlights, but it didn't work, and also the one for the links on the home page to team roster and depth chart which also don't work.

But when I click on view scripts I don't see any entries for the "home page links" or for the first skill highlight one that I downloaded yesterday?
 
Link
 
Well also I downloaded one a while back for the shift button to select multiple messages in the inbox, and it doesn't list that as well, but it does work.
 
Page:
 


You are not logged in. Please log in if you want to post a reply.