Skip to main content

Show HN: I asked ChatGPT to convert a Chrome ext to a Firefox ext https://ift.tt/KNs72Za

Show HN: I asked ChatGPT to convert a Chrome ext to a Firefox ext I told it to create a virtual machine first: I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do no write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd. Then I told it to create a python script to do the conversion: {Create and write to the filesystem a python script called convert.py that takes a URL as its first argument. The URL is a chrome extension. The script then converts the extension to a Firefox extension and saves the result in a directory called "res". Make sure the script works with an actual URL to a chrome extension on the Chrome Webstore. It requires you to possibly download the extension first from the URL. Also make sure the generated Firefox extension meets all the requirements and the Chrome to Firefox conversion takes place for all assets in the extension, it includes the content scripts, etc. Only print done to the terminal here when finished.} Then ran it with this URL (URL to Google Translate Chrome ext): python convert.py "https://ift.tt/l0FaXf2" It actually created a zipped Firefox extension with the manifest file converted correctly, etc. January 9, 2023 at 10:20AM

Comments

Popular posts from this blog

Show HN: Launch VM workloads securely and instantaneously, without VMs https://ift.tt/2QwJ1Kd

Show HN: Launch VM workloads securely and instantaneously, without VMs Hello HN! We've been working on a new hypervisor https://kwarantine.xyz that can run strongly isolated containers. This is still a WIP, but we wanted to give the community an idea about our approach, its benefits, and various use cases it unlocks. Today, VMs are used to host containers, and make up for the lack of strong security as well as kernel isolation in containers. This work adds this missing security piece in containers. We plan on launching a free private beta soon. Meanwhile, we'd deeply appreciate any feedback, and happy to answer any questions here or on our slack channel. Thanks! April 29, 2021 at 07:50AM

Show HN: Comment on live websites just like you comment on Google Docs/Figma https://ift.tt/GRhrjX0

Show HN: Comment on live websites just like you comment on Google Docs/Figma I'd love your feedback on this new JS plugin we launched. With this, you can comment on live websites just like you comment on Google Docs or Figma. You can use is to get Copy or UI feedback right on the website you are building. Feedback can be provided in rich formats like audio and video. You can get started by installing a JS tag in the footer of the website. You can then turn the review mode on or off on demand by adding “?review=true” to the URL. Demo video (43s): https://www.youtube.com/watch?v=cdnfBEw8TfI Demo video: https://www.youtube.com/watch?v=h6vxzXJuh8o https://ift.tt/ocLpdEu October 26, 2022 at 02:18AM