General purpose "How do I use this?" topic

DiscussãoHacking LibraryThing

Aderi ao LibraryThing para poder publicar.

General purpose "How do I use this?" topic

Este tópico está presentemente marcado como "adormecido"—a última mensagem tem mais de 90 dias. Pode acordar o tópico publicando uma resposta.

Abr 8, 2013, 3:46pm

I'm starting this as a general purpose topic for questions about how to install an addon, script, style, whatever. Just add your question(s) to the end.

Abr 8, 2013, 3:49pm

In another thread, Bookmarque said:
I've read about your greasemonkey scripts before, but I've never tried one. In fact, I don't use any plugins for my browser at all. Gasp! I know, how 20th century of me.
So what else, besides download it, do I need to do to make these things work? The last thing I want is some screwed up thing to happen to my browser. I think it happened once and so I've avoided them ever since.

Don't worry, there is very little chance of screwing up your browser here. The worst case scenario is that you just remove the things you added and you're back to normal. :)

First off, what browser do you use? A lot of this stuff is very specific to which browser you're using.

Second, have you checked out the wiki yet?

There are links there to information on Greasemonkey and Stylish, which further tell you how to go about setting it up.

But don't worry if it's just all too much. I'd be happy to walk you through it here. Just let me know.

Abr 8, 2013, 6:12pm

I've used Chrome on my MacBook for a while. Firefox was seemingly running slower and slower. I just installed Chrome on my iMac (Core 2 Duo) with Snow Leopard (10.6.8). I found that it asked me to log in to Google Chrome. By doing so, the add-ons and book marks were installed on the fresh copy. That feature could be useful at times.

My question for you. Would this also apply to Greasemonkey, Stylish, and any of your scripts I Install? If I have them on my daily machine (MacBook), would they be automagically installed on any others where I log in to Chrome?

From the descriptions and screenshots, you have done some fantastic work in making LT more usable.


Abr 8, 2013, 6:42pm

Thanks brightcopy. I'm out. Chrome user and I'm not really jazzed by adding things that might not work. They look pretty cool though so keep on keepin' on, I'll just admire from the sidelines.

Abr 8, 2013, 6:42pm

Thanks for the kind words, James.

To be honest, I never use the chrome sync feature (I use FF as my primary browser). But according to the TamperMonkey (that's what you'll use on Chrome instead of Greasemonkey) page it supports sync if you turn on the option in TM:

Looking at Stylish, I'm not sure. The most recent thing I can find is this forum post from last November:

As you can see, I posted there asking for clarification.

Good luck and let me know how it works!

Abr 8, 2013, 6:45pm

#4 by Bookmarque> I'd say the risk is minimal. Basically, the most likely reason they wouldn't work is because Tim updated the site. Then I'd notice or if not you'd send me a message and I'd fix the script. Then you could just push update and be done with it.

In the meantime, it's really INCREDIBLY easy to turn a script off or the entire set of scripts of. It's like two clicks and the icon is right there on the screen next to the three line options icon.

But if that's still too troublesome, no worries.

Abr 9, 2013, 2:55pm

For a long time I had your scripts installed on my Mac at home but I never bothered to do the same on my work computer. It made me realize how much I've come to depend on hacks like adding the groups list to the left side panel, or especially the Add Book to Library/Wishlist buttons when you are viewing a book in someone else's library. So I finally got around to installing them on my work computer, too, and have had no trouble at all.

Of course, I only look at LT on my lunch hour and breaks. :-)

Abr 9, 2013, 2:56pm

Glad to hear. :)

Do you use Safari or another browser?

Abr 9, 2013, 2:58pm

I use Chrome (and TamperMonkey) on both computers, but I don't use the Chrome sync feature. I just like keeping them separate.

Abr 9, 2013, 3:19pm

#9 by rosalita> You read my mind. :D

And I hear you on the sync thing. I've avoided it as well. Actually, I mainly just avoid giving Chrome my google account because I'm paranoid.

Abr 9, 2013, 3:35pm

#10 by brightcopy> It's the same reason I try to avoid signing into various sites using my Facebook or Twitter sign-ins. I see no reason to link all of my online life together like that. As my uncle would say, "Just because I'm paranoid doesn't mean they AREN'T out to get me."

Besides, I use XMarks to keep my bookmarks synced between computers and even different browsers on the same computer, and LastPass to help me remember passwords, so I don't need my browser to function as anything except a web page display mechanism.

Abr 14, 2013, 5:47pm

Out of curiosity, what language are Chrome scripts coded it?

Abr 14, 2013, 5:53pm

All scripts (used in Greasemonkey for Firefox and TamperMonkey for Chrome) are javascript.

All styles (used in Stylish for Firefox and Chrome) are CSS.

Abr 14, 2013, 5:58pm

Okay, thank you. I'm glad I don't need to add another language to my list of languages I'm learning!

Abr 14, 2013, 8:34pm

Well, you don't have to learn javascript or css if you just want to use the scripts/styles. Just if you want to modify them. :)

Abr 14, 2013, 9:03pm

What's the point of just using them? Of course I'll want to make my own.

Abr 14, 2013, 9:06pm

#16 by aleng> Oh! In that case, yes, javascript and knowledge of manipulating the DOM are your core tools. That, plus a very small extra set of functions that Greasemonkey/TamperMonkey provide:

Happy hacking!

Editado: Abr 14, 2013, 9:09pm

#17 from brightcopy>Thank you for the manual-I suspect it will make my life much easier. After all, it does get tedious to put in your own anchor tags, as opposed to using a script.