Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 7 of 7

This is a discussion on Chrome Extension Installer (.crx file) within the Chrome Plugins section, part of the Google Chrome category: When you download a CRX file for a Chrome extension it creates a folder that contains 2 things ... One ...


  1. #1
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default Chrome Extension Installer (.crx file)

    When you download a CRX file for a Chrome extension it creates a folder that contains 2 things ...

    One is a folder (eg New extension) containing the JSON and JS files for the extension, the other is a file called 'Current Version' which simply contains the name of the folder (eg New Extension) containing the above files.

    The questions I have are ...

    What is used to create the 'Current Version' file as its file type is simply File

    What is used to create the CRX file from the folder and file (described above)

    I know that if you enable extensions on your Chrome shortcut it will get it's information from this folder so you can actually have multiple extensions installed.
    Last edited by StevePaul; 04-26-2009 at 08:14 AM.

  2. #2
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    I know how to create the CRX file ...

    Just ZIP the file and folder and name the ouput with a CRX extension ...

    Couldn't find how to get the Current Version as File ...

  3. #3
    Stamga's Avatar
    Stamga is offline Super Moderator/Designer
    Join Date
    Mar 2009
    Location
    Qc, Canada
    Posts
    601

    Default

    Cool, thats useful to know... Maybe the Current Version file is a renamed .txt file.. just a guess


  4. #4
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    I tried that ...

    ie Extension.file, what it showed under the type was FILE File and it was still effectively a text file ...

    How I got round it was to copy and existing 'Current Version' file and modify it and just do a save....

    While writing this I've just had a thought, I might know someone who has the answer...

    I'll get back to you ...

  5. #5
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    The Current Version file is created by Chrome when it installs the Extension

    Installing multiple Chrome extensions

    Stamga it's worth posting the above link in the Sticky under extensions ...

  6. #6
    Stamga's Avatar
    Stamga is offline Super Moderator/Designer
    Join Date
    Mar 2009
    Location
    Qc, Canada
    Posts
    601

    Default

    Will do


  7. #7
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    Thanks,

    Think it will be extremely useful as there seems to be a lot of confusion out there about extensions and how to implement them :-)...

    Have to say a lot of the credit goes to Charles @ Landemaine (author of AdSweep) spent a lot of time this morning emailing back and forth working out exactly how the Chrome Extension Installer actually works as Google seem to have withdrawn the developer notes for it (although you can stll get to it here ....

    http://dev.chromium.org/developers/d...ts/extensions/

    Anyway hope this helps the extension makers ....

    (Think I'm going to have to give myself a crash course in Javascript, getting extremely frustrated having to rely on you guys - lmao)

Similar Threads

  1. AdSweep.crx extension for Chrome
    By calande in forum Chrome Plugins
    Replies: 13
    Last Post: 09-13-2009, 02:27 AM
  2. Chrome extension and ressource xml
    By Kyrax in forum Chrome Tech
    Replies: 0
    Last Post: 04-14-2009, 02:26 PM
  3. File size for img's
    By bendsen in forum Chrome Talk
    Replies: 0
    Last Post: 12-17-2008, 10:49 AM
  4. file, edit etc menu bar??
    By Katheechrome in forum Chrome Talk
    Replies: 0
    Last Post: 12-14-2008, 01:37 PM
  5. Safe Browsing File
    By ottovon in forum Bugs and Vulnerabilities
    Replies: 0
    Last Post: 09-23-2008, 03:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •