Can I disable refresh by editing the script? How?

in
Subscribe to Can I disable refresh by editing the script? How? 5 posts, 3 voices



kb7clx User
FirefoxWindows

OK, for the last couple weeks, something on Facebook was causing the script not to automatically refresh the page. At first this was annoying, until I found that, since the page no longer refreshed, I could go back and do 9 or even 10 hours of old jobs simply by hitting the "older posts" button until my computer got so slow that it took too long between times I could do this, usually when the page had around 3,000 links or so, with MW posts going back 8, 9 or even 10 hours. The script did all the jobs there that needed doing, and I was getting loads of EXP just by doing this for about 20 minutes in the morning. As of yesterday, it's refreshing again, so now I can't go back and get the old jobs. Can I edit the script when I don't want it to refresh? I suspect I would have to change this line:
eFBAnchor = oResults.snapshotItem(0).getElementsByTagName('a')[0];

but have no idea how. Thanks

 
SwissJ Script's Author
FirefoxWindows

Yeah, that's exactly what I'm using the script for right now: to go back and do the jobs that posted overnight. What you can do is disable the refresh by doing this:

Edit the script and look for

g_Utils.doLog('Content loader', 0, 'Starting looking for jobs & bonuses...', false);
try

Put a /* at the end of the try line such as

g_Utils.doLog('Content loader', 0, 'Starting looking for jobs & bonuses...', false);
try /*

Then scroll down to the line that reads

g_DOMUtils.getElem('NFAP_RLButton').click();

and put your cursors at the end of that line, hit enter and type */, making it look like

g_DOMUtils.getElem('NFAP_RLButton').click();
*/

This disables all the commands between the /* and the */. Then save the file and reload the trigger page and it will let you process jobs that you load to the screen. I also added a fix to circumvent the jobcity=1 problem with Cuban jobs. If you can figure the above out, I'll post how to do the Cuban fix too, so you can add that to your script.

 
eskimoe User
FirefoxWindows

nice, thanks, I just stumbled upon this post, and commented out what you posted, please post the cuba fix too ;)

 
eskimoe User
FirefoxWindows

well, of course the /* in the beginning should be after "try {", not after "try" directly ;)
I just noticed as I tried running it and it didn't work hehe

 
SwissJ Script's Author
FirefoxWindows

Exactly, I goofed when I told you that, but that's it. We have built our own feed loader and are currently testing. Unless Facebook screws us by changing something, expect a release shortly!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel