Large

Reddit - account switcher

By ashleyw Last update Jul 13, 2010 — Installed 4,654 times.

A suggestion

in
Subscribe to A suggestion 4 posts, 3 voices



ccouvillion User
FirefoxMacintosh

The script works great, it does precisely what I wanted.

But, it took me a while to find that I had to edit the script to put my account into it. With no accounts, the page defaults to normal.

I suggest that you put in a default account name that clues the users who don't read the documentation on the download page that they need to edit the script, ie [ "Edit_script to_add_your_accounts", "x" ].

Alternatively add some logic in the script to tell the user the same thing when they go to reddit's page.

Thanks

 
PeterAndre Scriptwright
FirefoxWindows

Could ANYONE show me where exactly to put the account details?

 
ashleyw Script's Author
FirefoxX11

Hey,

@ccouvillion: Thanks for the suggestion, I've added an alert message if no accounts are set:

Reddit Account Switcher

You don't appear to have set any accounts to switch between.
Please edit the script around line 21 to add them.

@PeterAndre: In Firefox:

1) Go to Tools > Greasemonkey > Manage User Scripts...
2) Select "Reddit - account switcher" on the left
3) Press the Edit button at the bottom
4) Navigate to line 21 (or near there, look for "var users = [")
5) Add a line for each user in the format of, '["username", "password"],'.
6) Save the file, and navigate to reddit.com to ensure it works.

Hope that helps,

Thanks,
Ashley

 
ccouvillion User
FirefoxMacintosh

Thanks!

The docs on the script page stand out more now too.

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