This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Sunday, January 8, 2023
Show HN: I asked ChatGPT to convert a Chrome ext to a Firefox ext https://ift.tt/9To5YWP
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/HTNhiOS" It actually created a zipped Firefox extension with the manifest file converted correctly, etc. January 9, 2023 at 09:50AM
Subscribe to:
Post Comments (Atom)
Show HN: Tablr – Supabase with AI Features https://ift.tt/ltABMro
Show HN: Tablr – Supabase with AI Features https://www.tablr.dev/ June 30, 2025 at 04:35AM
-
Show HN: Locksmith – detect locks taken by Postgres migrations https://ift.tt/0cBueJt February 10, 2025 at 02:26AM
-
Show HN: I built a FOSS tool to run your Steam games in the Cloud I wanted to play my Steam games but my aging PC couldn’t keep up, so I bui...
-
Show HN: TNX API – Natural Language Interactions with Your Database Hey HN! I built TNX API to make working with databases as simple as aski...
No comments:
Post a Comment