PDA

View Full Version : Installing scripts in Tor Browser



Fitzy2008
05-20-2012, 11:41 PM
Hello everyone, I have been using tor browser for a little while now simply because of it's simplicity :P :3 It's basically firefox with a proxy already configured.

Now I got greasemonkey installed as an addon in the tor browser, but I can't seem to get any scripts to install or run in it. I've tried manually uploading and running the script but that did not work either. I also tried disabling noscript form the browser with no success.

Anyone have a work around? It's just something that has been on my mind and bugging my these past couple of days.

Thanks in advance! B)

Tom
05-20-2012, 11:55 PM
If you're here via google, scroll down to see the solution :)

Fitzy2008
05-21-2012, 12:57 AM
Thank you for your hard work! I read that you can use vidalia with firefox by setting the manual proxy settings to the local host 3296 and that gives firefox the same IP the tor browser would have, and just load the scripts from there. It's pretty easy to just be able to click "use new identity" and get a new IP address. I am still wondering why scripts won't work in the tor browser though :|

Tom
05-21-2012, 01:04 AM
Fitzy2008 Alright, I finally got this to work, essentially you need to manually install the script. Here's what you need to do:

Right-click on the "install" button under the userscript page and "save as" to save the script.

[Only registered and activated users can see links]

Next, go into Tor's folder and locate gm_scripts (Tor Browser>FirefoxPortable>Data>profile>gm_scripts)
If there's no gm_scripts folder under profile, then create one.

[Only registered and activated users can see links]

Next create a new text file and paste this into the body of it:



<UserScriptConfig>
<Script filename="changeme.user.js" name="script name" namespace="namespace" description="script description" enabled="true">
<Include>[Only registered and activated users can see links]*</Include>
</Script>
</UserScriptConfig>


Change "changeme.user.js" to your script's name (e.g. "37568.user.js")
Change script name to what you want it to be called in the greasemonkey viewer (e.g. "Neopets pwner thingy")
don't forget the quotations, that's part of the syntax.

Don't save this yet, open up your downloaded file using a text editor. (open up the blabla.user.js you downloaded)
[Only registered and activated users can see links]

[Only registered and activated users can see links]

Paste those addresses over [Only registered and activated users can see links]
For each address you have, rap it in <include> tags.

So for example, if in the script I used the included address was [Only registered and activated users can see links] and [Only registered and activated users can see links] then my script would look like this:



<UserScriptConfig>
<Script filename="12345.user.js" name="script name" namespace="namespace" description="script description" enabled="true">
<Include>[Only registered and activated users can see links]>
<Include>[Only registered and activated users can see links]>
</Script>
</UserScriptConfig>


Ok after all of that, save that text file as config.xml in the gm_scripts folder

Finally, move the downloaded script into the gm_scripts folder as well.

[Only registered and activated users can see links]

Exit out of the folder, boot up Tor and witness the magic :)

[Only registered and activated users can see links]

Fitzy2008
05-30-2012, 05:39 PM
Thank you very much for your quick reply! I haven't had much free time to test this, but thank you very much for solving my problem! I'll edit this post with my results!

Tom
06-18-2012, 07:20 PM
Did this ever work for you Fitzy2008?

Fitzy2008
06-20-2012, 12:19 AM
Yes it did thank you very much! I'm sorry I totally forgot to update that post with my results >_<

blabla
07-18-2012, 10:56 AM
this solution doesn't wokr for me... repeated many times by those steps... what can be wrong?

carapau
02-08-2013, 02:59 PM
blabla u are fail. I did it and worked like a charm. U suck and must be doing something wrong..

wrath
02-08-2013, 03:17 PM
blabla u are fail. I did it and worked like a charm. U suck and must be doing something wrong..

If you noticed this is from July of 2012. Reviving any topic that is more than 3 months old is considered gravedigging and violates the rules here at Clraik. Since you are new here, I'd invite you to check out the rules here: clraik Official Rules ([Only registered and activated users can see links])

Posting just to increase your post count is also against the rules and I don't think anything you've just posted would be considered a contribution to this discussion.

Mod
02-08-2013, 07:53 PM
Federation, props. Telling it as it is.

To have that as his first post, digging through the forums and singling out this topic too...that's something. *shakes head*