Youtube To Mp4 Addon Firefox

0 views
Skip to first unread message

Tijuana Strauhal

unread,
Aug 5, 2024, 1:29:41 AM8/5/24
to sysdensmeswie
Iwant to install an unsigned addon that I made. I can load it temporarily via about:debugging, but I can't actually install it. Maybe I'm doing it wrong, I couldn't actually find any explicit instructions online, so I packed the files into a zip with a .xpi extension, and tried dragging it into the about:addons page. I get a "the addon could not be installed because it appears to be corrupt" error.

I've never actually heard of an install.rdf file. All I have other than scripts and images is manifest.json . I'm honestly working off of guesswork here because I couldn't find explicit instructions on how to do this - the closest I could find is this page, but it doesn't mention install.rdf .


The reason behind is, that it is outdated and does simply not work anymore. The addon was about translating a page of my university to English. The page does not exist as it was back when I developed the addon, and they added an English translation.


Ahhh, My problem was, that the new(?) website does not have any button "edit" on the addon-pages. When I however chose the "classical desktop website" on the bottom of the page, then there I have a button for editing and subsequently in the menues one for deleting the addon.


The addons-page says it is not supported by Quantum, but that is of no interest here. It is not useful whatsoever anymore, as the pages, which it worked on, are completely different and don't need a firefox addon anymore to have an English translation. Even updating the addon would not be of any use, as the function it serves is obsolete.


Note: If you're familiar with the basic concepts of browser extensions, skip this section to see how extension files are put together. Then, use the reference documentation to start building your extension. Visit Firefox Extension Workshop to learn more about the workflow for testing, publishing, and extensions for Firefox.


In a suitable location, such as in the Documents directory, create a new directory called borderify and navigate to it. You can do this using your computer's file explorer or command line terminal. Understanding how to use the command line terminal is a handy skill, as it helps with your more advanced extension development. Using the terminal, you create the directory like this:


The most interesting key here is content_scripts, which tells Firefox to load a script into Web pages whose URL matches a specific pattern. In this case, we're asking Firefox to load a script called "borderify.js" into all HTTP or HTTPS pages served from "mozilla.org" or any of its subdomains.


Warning: In some situations you need to specify an ID for your extension. If you do need to specify an add-on ID, include the browser_specific_settings key in manifest.json and set its gecko.id property:


Create the "icons" directory directly under the "borderify" directory. Save an icon there named "border-48.png". You could use the one from our example, which is taken from the Google Material Design iconset, and is used under the terms of the Creative Commons Attribution-ShareAlike license.


If you choose to supply your own icon, It should be 48x48 pixels. You could also supply a 96x96 pixel icon, for high-resolution displays, and if you do this it will be specified as the 96 property of the icons object in manifest.json:


Alternatively, you could supply an SVG file here, and it will be scaled correctly. (Though: if you're using SVG and your icon includes text, you may want to use your SVG editor's "convert to path" tool to flatten the text, so that it scales with a consistent size/position.)


This script will be loaded into the pages that match the pattern given in the content_scripts manifest.json key. The script has direct access to the document, just like scripts loaded by the page itself.


Note: By default extensions don't work in private browsing. If you want to test this extension in private browsing open "about:addons", click on the extension, and select the Allow radio button for Run in Private Windows.


Try experimenting a bit. Edit the content script to change the color of the border, or do something else to the page content. Save the content script, then reload the extension's files by clicking the Reload button in "about:debugging". You can see the changes right away.


The most interesting key here is content_scripts, which tells Firefox to load a script into Web pages whose URL matches a specific pattern. In this case, we're asking Firefox to load a script called \"borderify.js\" into all HTTP or HTTPS pages served from \"mozilla.org\" or any of its subdomains.


Create the \"icons\" directory directly under the \"borderify\" directory. Save an icon there named \"border-48.png\". You could use the one from our example, which is taken from the Google Material Design iconset, and is used under the terms of the Creative Commons Attribution-ShareAlike license.


Alternatively, you could supply an SVG file here, and it will be scaled correctly. (Though: if you're using SVG and your icon includes text, you may want to use your SVG editor's \"convert to path\" tool to flatten the text, so that it scales with a consistent size/position.)


Note: By default extensions don't work in private browsing. If you want to test this extension in private browsing open \"about:addons\", click on the extension, and select the Allow radio button for Run in Private Windows.


Try experimenting a bit. Edit the content script to change the color of the border, or do something else to the page content. Save the content script, then reload the extension's files by clicking the Reload button in \"about:debugging\". You can see the changes right away.


Coming here to say I have the exact same problem as gkon. Some more details that might or not be useful.

I am having the exact same problem on both my work laptops. It started happening on my old MacBook Pro running Mojave a few months ago and I just assumed it was because it is slowly getting out of date, but I have just got my new laptop which is a PC under Windows 10 after syncing Firefox.

I can connect fine on my personal computer, on the app on my phone, and on the vault. I have the same extensions on both my personal and professional laptops and running the latest version of Firefox. The only thing that differs is the Firefox Account as I have one for my professional laptops and one for my personal one.

Could there be something interfering with the extension from the Firefox account itself?


Then I created a new account (same email adress) with new master password, but no improvement. I can log in to the new vault.bitwarden.com but the bitwarden addon still refuses to work. A message ending with [Error Code 7] still appears.


A few weeks ago, we mentioned that we were working on increasing extension support in the Firefox for Android Nightly pre-release channel. Starting September 30, you will be able to install any extension listed on addons.mozilla.org (AMO) in Nightly.


Currently, Nightly uses the Collections feature on AMO to install extensions. You will need to create a collection on AMO and change an advanced setting in Nightly in order to install general extensions.


Follow these instructions to create a collection on AMO. You can name the collection whatever you like as long as it does not contain any spaces in the name. When you are creating your collection, you will see a number in the Custom URL field. This number is your user ID. You will need the collection name and user ID to configure Nightly in the following steps.


Most of the WebExtensions APIs supported on the previous Firefox for Android experience are supported in the current application. The notable exceptions are the downloads.download (implementation in progress) and the browserData APIs. You can see the current list of compatible APIs on MDN.


Thanks for noting this. You can add as many extensions to the collection as you would like, but Firefox for Android will only show the first page, and the first page was set to show 25 extensions. The engineers just increased it to show 50 extensions; that change should be reflected in an upcoming Nightly build.


Hi Caitlin,

Thanks for all of your work- it is appreciated!

Please provide the full disclosure as to any/all ways the user id + collection name may be used (please, in plain english for non technical users? TY!).

Further, please explain how the new unique user id/collection name fits w/the historical, user-centered privacy-orientation of the organization and this browser?

3a8082e126
Reply all
Reply to author
Forward
0 new messages