Author Topic: Help Converting Something To Bookmarklet  (Read 141 times)

Itouch_hacker

  • Full Member
  • ***
  • Posts: 233
  • Reputation: 7
  • Just a curious little ewok
    • Games
  • Computers: iMac
  • iDevices: Jailbroken iPad 2 and Jailbroken iPod 2G
Help Converting Something To Bookmarklet
« on: January 21, 2013, 01:03:11 am »
So basically there is a website called turntable.fm and i managed to make a poorly formatted version of a script/code thingy that animates laptop stickers on it. Mine makes the stickers move across the screen. But currently it is only working for bots meaning it uses code from a thing called turntableapi which makes the bot run but i have seen a user on the site do it with them selves and the used a bookmarklet... so i know its possible

So if you guys wouldnt mind helping me out.
Link to bot (runs with node): http://www.mediafire.com/?lvdq509x4lgadmd
Link to flat code: http://pastebin.com/eJaenyeK

EXAMPLE BOOKMARKLET USED ON SITE:
Code: [Select]
javascript:(function(){$('body').append('<script src=\'http://pinnacleofdestruction.net/tt/autott_voteonly.js\'></script>');})();This basically makes it so your charater autoawesomes every song..

Advice a friend gave me:

the code would have to be altered some
for js in a browser

Idk man im no javascript pro...