User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > log in and the use of scripts
Bluesman
bluest blues
offline
Link
 
A little help here!!!
When I log in under the old glb link my scripts all work just fine.
Now when I log in under the new warriorgeneral.com the scripts I use do not show up.

Is there something I need to do to activate the scripts to work under the warriorgeneral site?

I tried to disable my scripts and enabled them again but still the same thing.

Any help would be much appreciated.
 
Robbnva
online
Link
 
You need to edit the script to reflect the new site url's address.

So if the script says goallineblitz.com replace it with the new one OR you can just add it so it works on both sites.
 
pabst
offline
Link
 
If there's no updated version of the script available, do this:
Tools->Greasemonkey->Manage User Scripts
Right-click a script and hit edit
A text editor will open with the script code in it. The section at the top will look something like this:

// ==UserScript==
// @name Add Decline To Player Page
// @namespace pbr
// @include http://goallineblitz.com/game/player.pl?player_id=*
// @copyright 2010, pabst
// @license (CC) Attribution Share Alike; http://creativecommons.org/licenses/by-sa/3.0/
// @version 13.12.29
// ==/UserScript==

The important line is the //@include line. Copy it and paste another right after it. Then change goallineblitz.com to glb.warriorgeneral.com on the new copy.

From this:
// @include http://goallineblitz.com/game/player.pl?player_id=*
To this:
// @include http://goallineblitz.com/game/player.pl?player_id=*
// @include http://glb.warriorgeneral.com/game/player.pl?player_id=*

Save it (you may have to restart the browser depending on app versions) and then the script will attempt to run the next time you're on the right pages. Some scripts may still fail to run properly, but you'd have to go through the code to fix that. Unfortunately, if there are no updated versions of the scripts, you'll be doing this for each one.
 
DigitalDaggers
Admin
offline
Link
 
^what pabst said^
 
MissingNola
offline
Link
 
Originally posted by pabst
Scripts for Dummies


Thanks for posting this. I was aware of the problem and knew in general the solution, but didn't know how to actually do it. Thanks for laying it out so a dummy like me can follow.
 
Bluesman
bluest blues
offline
Link
 
Thanks Pabst, like MissingNola said Thanks for laying it our for a comp dummy like me can follow it. I went in there but didn't know what i was doing.
 
Greywolfmeb
offline
Link
 
Thanks much for the help....got all I use working except one. Anyone able to get this one http://userscripts.org/scripts/show/101722 (mark forum read) working on warrior general? I did the above steps and it shows the box to mark it read but does nothing when it is hit.
 
Bluesman
bluest blues
offline
Link
 
Originally posted by Greywolfmeb
Thanks much for the help....got all I use working except one. Anyone able to get this one http://userscripts.org/scripts/show/101722 (mark forum read) working on warrior general? I did the above steps and it shows the box to mark it read but does nothing when it is hit.


it worked for me after i updated it. The only thing it will do on one of my comps is after i click the marl all read button it will just stay on working. but it does mark them all as read if i let it stay on working for a bit then when i go back in it shows them all as read.
 
Greywolfmeb
offline
Link
 
interesting, it says it's working then when done... they're all there still showing new and unread.
 
pabst
offline
Link
 
Originally posted by Greywolfmeb
interesting, it says it's working then when done... they're all there still showing new and unread.

There's another reference to goallineblitz.com in that script down towards the bottom. I haven't looked into it, but you may have to change that one as well.

window.DoPage = function(pagepath){
GM_xmlhttpRequest({
method: 'GET',
url: 'http://goallineblitz.com' + pagepath,
headers: {
'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
'Accept': 'application/atom+xml,application/xml,text/xml',
},
 
Greywolfmeb
offline
Link
 
I will give that a try...thank you.

Edit.. that did it. Thanks again.
Edited by Greywolfmeb on Dec 31, 2013 17:02:20
 
Sithas~Cult~
FireDown!
offline
Link
 
do ur own work
 
dbreeze
offline
Link
 
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=RTKCX7JWVDUMG&lc=US&item_name=Thanks%20For%20Greasemonkey¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
 


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