Chrisos
User
|
It looks like this is a server side change so, alterations to the existing script are not going to fix the problem.
If you want to dig out your old version Andy, I'd be happy to work on it.
I seems the next best thing to do now, is to automate this process:
- Sending friend invites to peeps on the fight list
- Add acceptees to a mobwars friends group (Possibly automate creation of this group, but that would mean a lot of faffing for not a lot of return...)
- Send a mobwars invite to each acceptee
- Finally remove them from your friends once they have accepted the invite
|
|
|
Mozy_on
User
|
If I may suggest... Instead of using the fight page, why not use the Add me threads off of the discussion boards.
|
|
|
Chrisos
User
|
The obvious answer to that question, is that it is can be done automatically.
Whereas there would have to be quite some work on the add me threads extracting the information required to do the invites, which would still quite likely to be hit and miss.
|
|
|
cunumunu
User
|
gasp!! not fair to the guys who now adding ppl!!worked like great too bad they stopped it.hope there is a solutiion soon i cant go around addin ppl to my friend list all the time.
|
|
|
FlyfisherMike
User
|
Just stop being so lazy people and play the game like everyone else does. It's not that hard. Go to an Mob Wars Add me forum, post yourself and start adding others. Make a group in your friends list called mob wars. When you invite or accept someone you can add them into this group. Once you add everyone into your mob simply delete the mob wars group and they will still be in your mob but not gunking up your friends lists.
|
|
|
Mozy_on
User
|
@@ -3,29 +3,35 @@
// @namespace Mobwars friends.
// @description Creates a link on the fight page that pops up a window for each member in the fight page to add them to your friends.
// @include http://apps.facebook.com/mobwars/fight/
+// @include http://apps.new.facebook.com/mobwars/fight/
// @include http://www.facebook.com/addfriend.php?id=*
// ==/UserScript==
-function openInvites (ele) {
- document.getElementById('invites').innerHTML = document.getElementById('invites').innerHTML +
- ele.replace(/mobwars\/profile\/\?user_id=/,'http://www.facebook.com/addfriend.php?id=') + "\n";
-}
+function openInvites (ele) { GM_openInTab(ele.replace(/mobwars\/profile\/\?user_id=/,'http://www.facebook.com/addfriend.php?id=')); }
if (document.getElementsByTagName('title')[0].innerHTML == "Facebook | Mob Wars") {
- var addLink = document.getElementsByTagName('h1')[0];
- addLink.innerHTML = addLink.innerHTML + '';
-
- var MyID = document.getElementById('navigator').getElementsByTagName('a')[0].href.match(/id=([0-9]+)/)[1];
var MobsTable = document.getElementsByTagName('table')[1].innerHTML;
-
var MobsArray = MobsTable.match(/mobwars\/profile\/\?user_id=\d+/g);
- MobsArray.forEach(openInvites);
- alert(document.getElementById('invites').innerHTML);
+ if (confirm('Do you want to open invite windows?'))
+ MobsArray.forEach(openInvites);
}
if (document.getElementsByTagName('title')[0].innerHTML == "Facebook | Add Friend") {
document.getElementById('addMsgBox').style.display = 'block';
document.getElementById('addMsg').style.display = 'none';
document.getElementById('message').innerHTML = 'mobwars, I have no invites left, invite me for the cash :)';
document.getElementsByTagName('select')[0].options[1].selected = true;
+
+ document.getElementsByTagName('form')[1].submit();
}
\ No newline at end of file
+
+
+var version_timestamp = 1217619766628;
+/***
+ * Function: Script Update Checker
+ *
+ * Description:
+ * Script Update Checker (http://userscripts.org/scripts/show/20145)
+ * written by Jarett (http://userscripts.org/users/38602).
+ */
+function updateCheck(forced){if((forced)||(parseInt(GM_getValue("lastUpdate","0"))+86400000<=(new Date().getTime()))){try{GM_xmlhttpRequest({method:"GET",url:"http://userscripts.org/scripts/review/30725?"+new Date().getTime(),headers:{'Cache-Control':'no-cache'},onload:function(xhrResponse){GM_setValue("lastUpdate",new Date().getTime()+"");var rt=xhrResponse.responseText.replace(/ ?/gm," ").replace(//gm,"\n").replace(/<[^>]*>/gm,"");var scriptName=(/@name\s*(.*?)\s*$/m.exec(rt))[1];GM_setValue("targetScriptName",scriptName);if(parseInt(/version_timestamp\s*=\s*([0-9]+)/.exec(rt)[1])>version_timestamp){if(confirm("There is an update available for the Greasemonkey script \""+scriptName+".\"\nWould you like to go to the install page now?")){GM_openInTab("http://userscripts.org/scripts/show/30725");}}else if(forced){alert("No update is available for \""+scriptName+".\"");}}});}catch(err){if(forced){alert("An error occurred while checking for updates:\n"+err);}}}}GM_registerMenuCommand(GM_getValue("targetScriptName","???")+" - Manual Update Check",function(){updateCheck(true);});updateCheck(false);
\ No newline at end of file
|
|
|
flippityfloo
User
|
Jcbhntz, have you gotten this to work? Any instructions to go with this?
|
|
|
Mozy_on
User
|
I couldn't get any of the older versions to work. Dang it.
|
|
|
crash6882
User
|
my script is not working also. is there anything else to try
|
|
|
Wizard^^
Scriptwright
|
Andy if you need to test the script and you have to many people in your mob, you can always start another facebook account to test it. Remember groups can start facebook accounts, they just need a new e-mail address.
|
|
|
branko56
User
|
You guys might want to try http://apps.facebook.com/mobexpandr/ Its basically like a thread of users who've opted-in to receive your invites so your not adding randoms and allows you to change your status once your mob is full giving newer users a chance to grow their mob
|
|
|
revomatt513
User
|
Anybody know if this is working on Firefox 3.0.5? I have had the code installed for 48 hours and see none of the differences other people report seeing. Any suggestions would be greatly appreciated.
|