Jump to content


Photo

Facebook javascript code.


  • Please log in to reply
6 replies to this topic

#1 Choller

Choller

    Advanced Member

  • UBot Users
  • PipPipPip
  • 149 posts
  • LocationNetherlands
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Pro

Posted 17 April 2011 - 03:02 PM

There are a few facebook yavascript codes that you can use to select all friends. Usually you put this in the browser bar.

I tried using this code with the Navigate and the run Javascript command but none worked. I even tried to manually paste it into the UBot browser bar but no success.

Anyone know if it's possible to run this code in UBot?

#2 UBotBuddy

UBotBuddy

    Professional Botter

  • Moderators
  • 3111 posts
  • LocationVirginia
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 17 April 2011 - 04:41 PM

Interesting. I've never heard of that.

NewSig2.png


#3 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 April 2011 - 05:09 AM

Yes there are a few codes like:


javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};


but if you like to share where on facebook you are trying to use maybe could be able to help.


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.


#4 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 April 2011 - 05:17 AM

There you go bud: facebook select all friends code in Ubot: Attached File  Facebook_javascript_code_Praney.ubot   3.71K   28 downloads

Cheers!

Praney


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.


#5 Choller

Choller

    Advanced Member

  • UBot Users
  • PipPipPip
  • 149 posts
  • LocationNetherlands
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Pro

Posted 18 April 2011 - 12:16 PM

Well that works but not completely.

The problem with that code is that when you have lots of friends you have to manually scroll a few pages so it loads the rest of the friends, and those friends aren't selected untill you manually scroll....

Only way I can scroll the invite list is through mouse clicks. I tried every other input command (Page down/DOWN/etc) but nothing worked.
I hope i'm making sense...

#6 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 April 2011 - 12:27 PM

Mate I don't have tons of friends, but something tells me they must so all you need to do is scroll down manually first, and if there is a next page button or link then click it in a loop till there is none. A while loop will be idea for this.

You may need to do a little search on the forum on how to use the while loop if you are not aware.


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.


#7 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 19 April 2011 - 01:42 AM

Well that works but not completely.


I don't see anywhere you mentioned about clicking next pages, all you asked was to how to get the javascript code to work.


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users