Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install #1

Open
capriciousduck opened this issue Apr 25, 2021 · 11 comments
Open

Install #1

capriciousduck opened this issue Apr 25, 2021 · 11 comments
Labels
question Further information is requested

Comments

@capriciousduck
Copy link

How do I install the extension on firefox?

@tdulcet tdulcet added the question Further information is requested label Apr 25, 2021
@tdulcet
Copy link
Owner

tdulcet commented Apr 25, 2021

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.

@capriciousduck
Copy link
Author

Ok. How do I install this on Chrome?

@tdulcet
Copy link
Owner

tdulcet commented Apr 29, 2021

  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.

@19PHOBOSS98
Copy link

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?

@tdulcet
Copy link
Owner

tdulcet commented May 14, 2021

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. 😕

@19PHOBOSS98
Copy link

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 :(

@tdulcet
Copy link
Owner

tdulcet commented May 14, 2021

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 TinyWebEx/AddonSettings#7). You can safely ignore them all.

@19PHOBOSS98
Copy link

Oh ok, cool. Thanks!

@tdulcet
Copy link
Owner

tdulcet commented Aug 27, 2021

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/

@kylevessPL
Copy link

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

@tdulcet
Copy link
Owner

tdulcet commented Sep 13, 2023

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 tdulcet pinned this issue Sep 13, 2023
@tdulcet tdulcet mentioned this issue Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants