I have a couple very short + simple extensions that I can’t install to chrome. I am given the following error about the ‘manifest version’, so I assume that the problem is that it is outdated, I haven’t any experience in chrome extensions/javascript so I couldn’t fix them myself as I would normally try to do, these were written for me by a friend a while back.
Could someone let me know how I should correct these files?
Error:
The 'manifest_version' key must be present and set to 2 (without quotes). See developer.chrome.com/extensions/manifestVersion.html for details.
Extension files:
manifest.json for extension 1:
{
"content_scripts": [ {
"exclude_globs": [ ],
"include_globs": [ "*slavehack*index2.php\\?page=internet&openFolder=&var3=files&aktie=*&*=*" ],
"js": [ "script.js" ],
"matches": [ "http://*/*", "https://*/*" ]
} ],
"converted_from_user_script": true,
"description": "",
"key": "XKBlE2kyhcJNHGYLuLylZhjFVQV7puTEQbsFuGRcKoY=",
"name": "Slavehack Process Log Protector",
"version": "1.0"
}
script.js for extension 1:
// ==UserScript==
// @name Slavehack Process Log Protector
// @include *slavehack*index2.php?page=internet&openFolder=&var3=files&aktie=*&*=*
// @version 1.0
// ==/UserScript==
var allA = document.getElementsByTagName('a');
for (var i = 0; i < allA.length; i++) {
if ( allA[i].innerHTML.match('Access logfile') ) {
window.location.href = allA[i].href;
}
}
manifest.json for extension 2:
{
"content_scripts": [ {
"exclude_globs": [ ],
"include_globs": [ "*slavehack*index2.php\\?page=internet&var3=&aktie=FP&var2=*&transfer=*&tonumber=*&toip=*" ],
"js": [ "script.js" ],
"matches": [ "http://*/*", "https://*/*" ]
} ],
"converted_from_user_script": true,
"description": "",
"key": "WxQnzwPDzxXFW/TSZw6dNJJJSyVIXlub/QQGMlVtjbc=",
"name": "Bank IP Log Crack Remover",
"version": "1.0"
}
script.js for extension 2:
// ==UserScript==
// @name Bank IP Log Crack Remover
// @include *slavehack*index2.php?page=internet&var3=&aktie=FP&var2=*&transfer=*&tonumber=*&toip=*
// @version 1.0
// ==/UserScript==
var bankip = window.location.href.split('=')[window.location.href.split('=').length - 1]
window.location.href = 'http://www.slavehack.com/index2.php?page=internet&var2='+bankip.replace('#','')+'&var3=crack&var4=';
Many thanks for any help
https://www.mediafire.com/file/7zww88q5eovjhad/arc…
Данное расширение перестало работать. Выдает следующую ошибку:
Первое
Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.
«manifest_version»: 2
И второе
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘responseData’)
}))[0], e.selfPlayerId = t.responseData.user_data.player_id, e.selfPlayerName = t.responseData.user_data.user_name, e.selfPlayerEra = t.responseData.user_data.era,e.selfPlayerPortrait = t.responseData.user_data.portrait_id, localStorage.setItem("current_player_id", e.selfPlayerId), localStorage.setItem("current_player_name", e.selfPlayerName), e.checkFullVersion(!0)
-
Вопрос задан
-
2981 просмотр
Пригласить эксперта
Кто поможет?
Ответ на вопрос: автор данного расширения.
99 %, что оно перестало работать из-за изменений на сайте. (Тем более, что это «чит» для браузерки.)
Нужно его обновить.
Где взял, там и спрашивай.
Первое, это предупреждение, оно говорит вам о том, что версия Манифеста, через которое все расширения устанавливаются — устарело и поддержка второй версии кончится в 2023 году (это правда, так как вышла уже 3 версия)
Второе, это ошибка, связанная с кодом.
Как решать? Все просто, свяжитесь с автором данного решения и укажите на найденную вами ошибку и вместе решите проблему.
Готов оплатить , если кто решит проблему
-
Показать ещё
Загружается…
21 сент. 2023, в 15:38
5000 руб./за проект
21 сент. 2023, в 15:31
1200 руб./за проект
21 сент. 2023, в 15:31
25000 руб./за проект
Минуточку внимания
You could try older versions of the extension. Also, I’m not sure where you got the extension from, because the latest version seems to be v3.1.7.3 (official release), not v3.1.7.7, as you have posted in the title. If you got it from an unofficial site, I’d be concerned about getting a virus.
Talking about viruses in a Chrome extension, you can use crxcavator.io site to scan if an extension has a virus or if it is risky. The extension must still be in the Chrome Webstore for the site to be able to scan it.
As an alternative, you can use virustotal.com to scan an extension that you have downloaded on your PC as .crx/.zip format.
In the future, you can use crx4chrome.com to download older versions of an extension. The most popular extensions can be found there.
As an alternative, you could try using an older version of Chromium that fully supports the extension. This site is for Chromium for Windows. Also, if I recall correctly, Brave, and Vivaldi will still offer support for Manifest Version 2, even after MV2 support will be stopped for Chrome/Firefox.
Another alternative is to use Bypass Paywalls Chrome extensions.
For some more simple Chrome extensions, if you know a bit of programming related to web design or just programming in general, you could be able to figure out how to turn that extension into a Tampermonkey script/ script that can be used in Chrome developer tools/ bookmarklet, where MV2 isn’t affecting the script anymore. Just make sure to not spread that script online. Or if you want to spread it online, ask for the Chrome extension creator’s permission and also offer credit to him/her in the script.
Since we’re talking about the transition from Manifest Version 2 to Manifest Version 3, I found this site that allegedly is able to automatically aid one to convert an extension from MV2 to MV3 using their converter called Itero MV2-MV3 Converter. I think once MV2 will be stopped getting supported on Chrome/Firefox, more converters like this will pop up.
Almost forgot, some paywalls don’t work while in Incognito mode on a browser, so you won’t even need a Chrome extension for bypassing paywalls. I know it works like this for quora.com.
Edit:
This tool (made by someone who works on Chrome’s extensions team) converts the manifest file from version 2 to version 3, but I don’t know to what degree. Here it’s described how it’s done.
Shipman68 |
|
Статус: Новичок Группы: Участники
|
Устанавливаю расширение для работы с cadis плагином. Версия 1.2.8 В списке расширений хрома оно отображается с ошибкой. Ругается на строку «manifest_version»: 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 { «author»: «CryptoPro Ltd», «background»: { «scripts»: [ «background.js» ] }, «content_scripts»: [ { «all_frames»: true, «exclude_matches»: [ «*://*.icloud.com/*» ], «js»: [ «content.js» ], «matches»: [ «\u003Call_urls>» ] } ], «content_security_policy»: «script-src ‘self’; object-src ‘self'», «description»: «Расширение позволяет использовать КриптоПро ЭЦП Browser plug-in в браузере. Для работы требует установленного ЭЦП Browser plug-in.», «homepage_url»: «https://www.cryptopro.ru/cadesplugin», «icons»: { «128»: «icons/icon128.png», «16»: «icons/icon16.png», «48»: «icons/icon48.png» }, «key»: «MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsePKp3waq5KKtMV6DGvvY706kmxCCvsaVCoHylp2xlNuAlIXZtuRv+0l425qAqXJuMOx0CCniDQFB8LUqPw8W8C3tlZNhLh9RTayAsHMhgjeVJOO1BsX/UYsyt2WM2ZNU93M/VFl8lLpwPUwTx0O+ThLZGWyryUJtOfNJm0aZNCSgviM3Go6kanqBEe5H4SlItMd+96F0oYjh4y71ZfiUruqTPyKv9IfZbg6BWCf6Et5K6gyJtGG2DZ0oyZruub/OfxcJbOIGYBilQmbUIvX9tyzVhlVjgdKRIZxtn+P+xI38MMtKIgvp8giSLyHnUQYTjaw/TcBxVYoJknqUijK1QIDAQAB», «manifest_version»: 2, «name»: «CryptoPro Extension for CAdES Browser Plug-in», «page_action»: { «default_icon»: { «128»: «icons/icon128.png», «16»: «icons/icon16.png», «48»: «icons/icon48.png» }, «default_popup»: «popup.html» }, «permissions»: [ «nativeMessaging», «declarativeContent», «tabs» ], «update_url»: «https://clients2.google.com/service/update2/crx», «version»: «1.2.8», «web_accessible_resources»: [ «nmcades_plugin_api.js», «trusted_sites.html» ] } |
|
|
nickm |
|
Статус: Активный участник Группы: Участники Сказал(а) «Спасибо»: 359 раз |
Вы в в каком браузере работаете с указанным расширением? Ваше сообщение не совсем понятно, перечислены какие-то цифры и малоинформативное в целом. Можете показать скрином? Какой ID у расширения? |
|
|
Shipman68 |
|
Статус: Новичок Группы: Участники
|
Chrome 103.0.5060.134 (но пробовал и последнюю) |
|
|
nickm |
|
Статус: Активный участник Группы: Участники Сказал(а) «Спасибо»: 359 раз |
Автор: Shipman68 Chrome 103.0.5060.134 (но пробовал и последнюю) В целом всё на месте. Можно поступить следующим образом, открыть тестовую страницу плагина и глянуть ошибки/ сообщения в панели разработчика по нажатию F12, может что и увидите. Отредактировано пользователем 9 августа 2022 г. 16:13:08(UTC) |
|
|
Shipman68 |
|
Статус: Новичок Группы: Участники
|
Дело в том, что подписание и в ИЕ не работает, там вообще расширение не нужно. Может подскажите, где найти архив плагина, грешу на него, попробовал бы разные версии. |
|
|
nickm |
|
Статус: Активный участник Группы: Участники Сказал(а) «Спасибо»: 359 раз |
Автор: Shipman68 Дело в том, что подписание и в ИЕ не работает, там вообще расширение не нужно. Может подскажите, где найти архив плагина, грешу на него, попробовал бы разные версии. А что в IE происходит? У Меня имеются несколько сохранённых версий, но это наверное не самая лучшая идея использовать древние версии ПО. Пробовали полное удаление и установку плагина? Отредактировано пользователем 9 августа 2022 г. 16:39:20(UTC) |
|
|
Shipman68 |
|
Статус: Новичок Группы: Участники
|
У меня в надстройках ИЕ даже не появляются компоненты Криптопро. |
|
|
Shipman68 |
|
Статус: Новичок Группы: Участники
|
Полное удаление средствами Криптопро делал не раз😀 |
|
|
nickm |
|
Статус: Активный участник Группы: Участники Сказал(а) «Спасибо»: 359 раз |
Автор: Shipman68 У меня в надстройках ИЕ даже не появляются компоненты Криптопро. Полагаю следует разбираться с системой и сторонним ПО; Автор: nickm Можно поступить следующим образом, открыть тестовую страницу плагина и глянуть ошибки/ сообщения в панели разработчика по нажатию F12, может что и увидите. Выполняли, что-нибудь прояснилось? |
|
|
Пользователи, просматривающие эту тему |
Guest |
Быстрый переход
Вы не можете создавать новые темы в этом форуме.
Вы не можете отвечать в этом форуме.
Вы не можете удалять Ваши сообщения в этом форуме.
Вы не можете редактировать Ваши сообщения в этом форуме.
Вы не можете создавать опросы в этом форуме.
Вы не можете голосовать в этом форуме.
Describe the issue you are experiencing
A clear and concise description of your issue: Error received when loading unpacked Extension: xBrowserSync 1.6.0-beta.61
How can the issue be reproduced?
Steps to reproduce the behavior:
- Go to ‘Extensions’
- Click on ‘Errors’
Desktop browser
Please complete the following information for all affected desktop browsers:
- OS: Ubuntu focal
- Browser: Chromium
- Version: 101.0.4951
ERROR REPORT:
`Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.
{
«manifest_version»: 2,
«name»: «MSG_App_Title_Default«,
«description»: «MSG_App_Description_Default«,
«icons»: {
«48»: «assets/icon48.png»,
«128»: «assets/icon128.png»
},
«default_locale»: «en»,
«browser_action»: {
«default_icon»: {
«32»: «assets/notsynced.png»
},
«default_popup»: «app.html»,
«default_title»: «MSG_App_Title_Default«
},
«background»: {
«page»: «background.html»
},
«commands»: {
«_execute_browser_action»: {
«suggested_key»: {
«default»: «Ctrl+Space»,
«mac»: «MacCtrl+Space»
}
}
},
«content_security_policy»: «connect-src ; default-src ‘none’; font-src ‘self’ data:; img-src ‘self’ data:; script-src ‘self’; style-src ‘self’ ‘unsafe-inline’;»,
«permissions»: [
«activeTab»,
«alarms»,
«bookmarks»,
«downloads»,
«notifications»,
«storage»,
«tabs»,
«unlimitedStorage»
],
«optional_permissions»: [
«http:///»,
«https://*/»
],
«incognito»: «not_allowed»,
«version»: «1.6.0.61»,
«version_name»: «1.6.0-beta.61»
}`