Thursday, 30 December 2021

editing chrome extensions problem with corrupted files

I have been recently working on a project to make a simple download renamer and it worked. However, i just need to append its code to my download manager extension (Ant download manager). When i try to change the background script edge gives error : 'extension might be corrupted' and a repair option with no option to let it work. I tried removing the update_url and replacing it with any other in the manifest.json (editing other files than the background script doesn't elect the error) but still gave the same error when i edited background script.

NOTE: when i load the unpacked source code of the extension, it doesn't function properly.

I thought of changing the path of native host in json manifest to a custom C++ host that would receive the stdin and then send the modified data as stdout to the original native host but this would be a lengthy solution and encounter a lot of errors.



from editing chrome extensions problem with corrupted files

No comments:

Post a Comment