Giter Club home page Giter Club logo

crx-download's People

Contributors

bershanskiy avatar black-platypus avatar d-ashok-kumar avatar liudonghua123 avatar tonystark93 avatar unxho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

crx-download's Issues

no "Download" options available anymore

I was using this extension yesterday (downloaded from Chrome Web / extensions store) and it worked fine

Today I downloaded it again
(i always boot up via netbootxyz so i have a fresh clean system each time)

and
it just says

"
Please go to Chrome Extension Store or Microsoft Addon Store and go to extension page to download chrome extensions.
Convert from CRX to ZIP file
"

I've tried clearing my chromium-browser cache etc

No fix.

This is the first time i've seen this issue occur.
P.S.
for clarification,
I'm at the URL:
https://chrome.google.com/webstore/detail/tabs-outliner/eggkanocgddhmamlbiijnphhppkpkmkl
(Tabs Outliner)

I do this so I can use it in multiple Chromium profiles
(one for google, another for facebook, etc.)

...
and,
even after fully loading the webstore page,
this extension fails to recognize / provide an option to DOWNLOAD (either as zip or as crx) that extension.
.
The only option it offers now is to convert some existing, already-downloaded extension from crx to zip file.

Migration to Manifest V3

Extension currently uses Manifest V2, which is deprecated and scheduled to be shut down next year. Google says that in January 2023 "Chrome stops running Manifest V2 extensions" unless there is an "enterprise policy... within the organization." In June 2023, "Manifest V2 extensions [will] no longer function in Chrome even with the use of enterprise policy".

I can prepare a PR to migrate to MV3 if you are interested in reviewing it.

Request to go to the new edge browser extension store

The new version of edge browser based on chrome kernel has been released. The extension can be put on the edge store free of charge. It is compatible with Chrome extension, and the number of users is increasing gradually.
So I hope that this extension can be put on the edge store to make it easier for more people to access this extension.And I hope it can extract the extensions of edge extension store in the same way.
Thank you very much.

Extension permissions

Extension manifest contains multiple permissions that it does not need and which generate extra warnings during installation. If you are interested, I can make a PR to remove these.

  • downloads (twice, for some reason)
    • Install warning: "Manage your downloads"
    • Alternative: initiate regular downloads from popup page context or by creating a new tab. No permissions required at all. Update: turns out, with this method Chrome automatically attempts to install CRX packages instead of just downloading them. This permission might indeed be necessary.
  • Hot permissions *://clients2.google.com/service/update2/crx* and *://clients2.googleusercontent.com/crx/download/*
    • Install warning: "Read and change your data on..."
    • Alternative: these are not necessary if extension uses download method mentioned above.
  • tabs
    • Install warning: "Read your browsing history"
    • Alternative: use activeTab permission which is granted when user activates extension (opens extension popup or presses a shortcut). This permission does not produce any warnings at all.

This extension can be rewritten to require no special permissions and to generate no warnings upon installation only downloads permission.

Edit: I implemented proposed ideas in this MV3 prototype and it works with only downloads permission and allows you to download extensions from Chrome Web Store and Edge Addons store.

some extension download failed

Security Risk. Version between Github and Web Store do not match.

Steps to reproduce:

  1. As of February 18th, 2023, compare those two web page below. Notice that their versions do not match. 1.5.3 versus 1.56

  2. According to this Github repository, the latest version of this extension is 1.5.3 at https://github.com/tonystark93/crx-download/releases/latest

  3. According to Web Store, the latest version of this extension is 1.5.6 at https://chrome.google.com/webstore/detail/crx-extractordownloader/ajkhmmldknmfjnmeedkbkkojgobmljda

  4. The challenge is that users are not able to review the code of the extension version 1.5.6. And contribute to it. In turn, this is a security risk.

  5. The needed end result is that both version match. Where the most important one is at https://github.com/tonystark93/crx-download/releases/latest

If needed, both me and the Ubertus.org team would be happy to test a new version. Any volunteer for a patch?

Avoid use of navigator.userAgent if navigator.userAgentData is present

Chromium deprecated navigator.userAgent and over time will freeze it (make returned values fixed and not representative of the actual browser). As a replacement, Chromium introduced navigator.userAgentData which returns the same data (and more) in a more structured form. This extension currently uses Chrome version and platform bitness, both values are available via the new API navigator.userAgentData.getHighEntropyValues():

  • browser version:
    const version = (await navigator.userAgentData.getHighEntropyValues(["fullVersionList"]))
      .fullVersionList.filter((model) => model.brand === 'Chromium' || model.brand === 'Google Chrome')
      .map((model) => model.version)[0];
  • CPU architecture and bitness for NaCl:
    const {architecture, bitness} = (await navigator.userAgentData.getHighEntropyValues(["architecture", "bitness"]));

Also, NaCl architecture is available via chrome.runtime.getPlatformInfo() which is not affected by User Agent deprecation and which is stable (available since Chrome 29).

For reference, since June 13 Chrome already serves "reduced" version number which reveals only the major version (like 101.0.0.0).

I'm not aware of any real harm caused by inaccurate version info, but this would be nice to fix anyway. I can prepare a PR to use this new API or fall back to navigator.userAgent if it is not available if you would be interested in reviewing it.

Improvements & Fixes (technical & UI)

Hey there :)

Just found your Extension through This Article
…and compared it to This Extension

It's good but missing a few key details:

  • If you make a UI (rather than just context menu entries), it should have a night mode.
  • Your Extension's functionality is so simple that a custom popup UI isn't really necessary (it only increases complexity & time to open).
  • The icon's visuals aren't that great (compared to Get CRX):
    image
    …because the text isn't easily visible and the gray square isn't visually appealing.
  • The current version fails to get the Extension's name for the Filename: #21

I hope I could help improving your Extension.

Greetings from Germany =·)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.