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.

1brightcopy
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.

2brightcopy
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?
http://www.librarything.com/wiki/index.php/Hacking_LibraryThing#Hacking_LibraryT...

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.

3Keeline
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.

James

4Bookmarque
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.

5brightcopy
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:
http://tampermonkey.net/

Looking at Stylish, I'm not sure. The most recent thing I can find is this forum post from last November:
http://forum.userstyles.org/discussion/33477/sync-userstyles-between-chrome-inst...

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

Good luck and let me know how it works!

6brightcopy
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.

7rosalita
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. :-)

8brightcopy
Abr 9, 2013, 2:56pm

Glad to hear. :)

Do you use Safari or another browser?

9rosalita
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.

10brightcopy
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.

11rosalita
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.

12aleng
Abr 14, 2013, 5:47pm

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

13brightcopy
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.

14aleng
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!

15brightcopy
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. :)

16aleng
Abr 14, 2013, 9:03pm

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

17brightcopy
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: http://wiki.greasespot.net/Greasemonkey_Manual:API

Happy hacking!

18aleng
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.