Colab-Autorun-and-Connect icon indicating copy to clipboard operation
Colab-Autorun-and-Connect copied to clipboard

Install

Open capriciousduck opened this issue 4 years ago • 11 comments

How do I install the extension on firefox?

capriciousduck avatar Apr 25 '21 08:04 capriciousduck

Download it with this command:

git clone --recurse-submodules https://github.com/tdulcet/Colab-Autorun-and-Connect.git

Then follow these instructions to install it in Firefox.

tdulcet avatar Apr 25 '21 08:04 tdulcet

Ok. How do I install this on Chrome?

capriciousduck avatar Apr 29 '21 08:04 capriciousduck

  1. The same step from above to download it.
  2. As instructed on the README:
    1. Download the webextension-polyfill (specifically download the browser-polyfill.js file from here to your directory from step 1. above).
    2. Rename the chromemanifest.json file to manifest.json.
  3. Then follow these instructions (steps 1-3 in the middle of the page) to install it in Chrome/Chromium.

tdulcet avatar Apr 29 '21 12:04 tdulcet

Hi, could you please help me :) I tried installing it in chrome and it had some errors in the extension manager:

Screen Shot 2021-05-14 at 12 04 06 PM Screen Shot 2021-05-14 at 12 04 12 PM

I cloned it using the link above I downloaded browser-polyfill.js from the given link the cloned folder came with another manifest.json file so I got rid of that before renaming the chromemanifest.json file into manifest.json I then opened up the extension manager and enabled developer mode

what am I doing wrong?

19PHOBOSS98 avatar May 14 '21 04:05 19PHOBOSS98

I downloaded browser-polyfill.js from the given link

You need to first click on the “View Raw” button in the top right corner of the page before downloading the file, so that you download just the JavaScript file and not the whole HTML page. Unfortunately, that page is not very intuitive. 😕

tdulcet avatar May 14 '21 04:05 tdulcet

ok, so I hit "View Raw" as you said and right clicked the page and clicked on "Save As" and manually dropped the new browser-polyfill.js into the Colab-Autorun-and-Connect folder and it gave me this error at the extension manager: Screen Shot 2021-05-14 at 2 01 13 PM Screen Shot 2021-05-14 at 2 01 32 PM

I tried manually copy-pasting the whole script into a text file and saving it as .js. It still gave me the same error :(

19PHOBOSS98 avatar May 14 '21 06:05 19PHOBOSS98

it gave me this error at the extension manager:

Those are just warnings from one of the libraries that this extension uses. The first one is erroneous (see https://github.com/TinyWebEx/AddonSettings/issues/7). You can safely ignore them all.

tdulcet avatar May 14 '21 07:05 tdulcet

Oh ok, cool. Thanks!

19PHOBOSS98 avatar May 14 '21 09:05 19PHOBOSS98

For anyone following this issue, you can now install the extension in Firefox directly from AMO: https://addons.mozilla.org/en-US/firefox/addon/colab-autorun-and-connect/

tdulcet avatar Aug 27 '21 14:08 tdulcet

Since 2023, manifest v2 has been deprecated and migration to v3 should be done beforehand: https://developer.chrome.com/docs/extensions/migrating

kylevessPL avatar Sep 13 '23 14:09 kylevessPL

Yes, MV2 may be deprecated in Chrome, but should still work just fine when sideloading extensions. 😉

PRs are of course welcome to migrate to MV3...

tdulcet avatar Sep 13 '23 14:09 tdulcet