darktrojan / newtabtools

New Tab Tools add-on for Firefox and Chrome
https://addons.mozilla.org/firefox/addon/new-tab-tools/
254 stars 73 forks source link

Any way to force backup of tiles to work in current Chrome? #498

Open bwprager123 opened 2 years ago

bwprager123 commented 2 years ago

This is a post-complete-crash-and-reinstall-of-Windows-10 question. New Tab Tools works in Firefox, but I've been using Chrome as my default browser for a long time now. Previously NTT worked in Chrome by opening the extensions page in Chrome in developer's mode and despite the "violates Chrome store policy" message, it worked by clicking the button to "turn it on". This was fine. Now instead of the "violates store" message, it gives two errors and restoring from backup is no longer possible. With Chrome, I've installed NTT by the unpacked extension method, at last. However none of the backups I have of personalization of tiles will "load" on "restore", whether they are .zip files from Firefox or .txt files from Chrome. Chrome has been unable to create backups of NTT for a long time. It creates them as an ineffective "text" file. With Firefox I can create a backup of the tiles as a ".zip" file. However now, neither the .txt backups nor the .zip file backups from Firefox will "restore" the tiles in Chrome. In Chrome the NTT page remains blank. Clicking "restore, there is no response. If we want to painstakingly re-create NTT in Chrome, it will allow me/ us to add them back tile by tile; but without the graphic inside the tile (they are blocked as a faded greyed out appearance) and that cannot be transferred between logins to Chrome. So, you can add all of the tiles in your "personal" log in, but if you have two or three Google logins for work or other uses, you cannot share the NTT tile setup to them. Restore/ backups do not work at all in Chrome. Here's a quote of the two error messages if that helps:

Unrecognized manifest key 'applications'.

{ "name": "MSG_extensionName", "description": "MSG_extensionDescription", "version": "92.1", "icons": { "48": "images/icon.svg" }, "applications": { "gecko": { "id": "newtabtools@darktrojan.net", "strict_min_version": "91.0" } }, "chrome_url_overrides": { "newtab": "newTab.xhtml" }, "background": { "scripts": [ "common.js", "tiles.js", "prefs.js", "background.js", "lib/zip.js", "export.js" ] }, "browser_action": { "default_icon": "images/tools-light.svg", "theme_icons": [ { "dark": "images/tools-light.svg", "light": "images/tools-dark.svg", "size": 16 } ], "default_popup": "action.html", "default_title": "__MSG_extensionName__", "browser_style": true }, "permissions": [ "", "idle", "menus", "sessions", "storage", "tabs", "topSites", "webNavigation" ], "optional_permissions": [ "bookmarks", "downloads", "history" ], "default_locale": "en", "manifest_version": 2 }

Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details. Permission 'menus' is unknown or URL pattern is malformed. Uncaught ReferenceError: browser is not defined Uncaught ReferenceError: browser is not defined Uncaught (in promise) ReferenceError: browser is not defined Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')

Please! This is important for me. IS there any means to make the extension work normally in Chrome any more? No one appears to make a useful version of this basic and extremely useful addition to Chrome. Why?? I don't know! Please help!