I wanted to make a transition from firefox to chrome (on windows). I managed to get all javascript buttons like ctan package and comment block to work with chrome. But.... the life line - select code button eluded me. It seems that it doesn't work with chrome. Without this button I can't migrate to chrome ( I am very serious :-|).

References:

  1. http://meta.tex.stackexchange.com/a/891/11232
  2. Useful StackApps and other User Scripts for TeX.SX

Question:

How to get select code button in google chrome?

Edit:

As per Martin Scharrer's suggestion (below), I installed Tampermonkey and installed the select_code script through Tampermonkey. Then it works.

share
    
What other goodies do you have? I'd love to learn! :) –  Dror Apr 3 at 20:16
    

2 Answers 2

up vote 10 down vote accepted

I tested it now and it works fine for me. I installed the current version of Chrome (Version 24.0.1312.52 m) and then the Tampermonkey extension, which is apperently like Greasemonkey for Firefox. It wasn't possible to install the script directly because of the "security" settings of Chrome.

share
    
It works! Thanks Martin. –  Harish Kumar Jan 19 '13 at 13:27
    
You can install scripts directly by dragging the file (even from the Download Bar) to the Extensions Tab. In this instance the script really does not work although it is installed. What does Tampermonkey change? Anyway, you may add to the answer how to install the script through Tampermonkey, it is not as easy as Drag-and-Drop (I needed to paste the source into the “Edit New Script” window). –  Qrrbrbirlbel Jan 19 '13 at 20:06
    
@Qrrbrbirlbel I added the steps involved. But I don't know -- What does Tampermonkey change? –  Harish Kumar Jan 20 '13 at 2:31

I decided to make it somewhat more elaborate:

Steps to be followed:

  1. Install Tampermonkey (press Add to chrome). (Open this link in chrome) enter image description here

  2. (Go to this answer of Martin Scharrer and/or) select to install select_code script. You will be asked this:

enter image description here

Click OK

And you are done. Now you will get a select code button below the code as in:

enter image description here

Sorry, but I don't know what tampermonkey does so as to make this code work.

share
    
Please feel free to improve. –  Harish Kumar Jan 20 '13 at 3:52
    
I actually didn't got the pop-up in step 2. It directly installed it using tampermonkey and it worked. –  Martin Scharrer Jan 20 '13 at 12:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .