Manifest version 2 ошибка

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.


Offline

Shipman68

 


#1
Оставлено
:

9 августа 2022 г. 10:31:42(UTC)

Shipman68

Статус: Новичок

Группы: Участники

Зарегистрирован: 09.08.2022(UTC)
Сообщений: 5

Устанавливаю расширение для работы с 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» ]

}


Вверх


Offline

nickm

 


#2
Оставлено
:

9 августа 2022 г. 15:47:12(UTC)

nickm

Статус: Активный участник

Группы: Участники

Зарегистрирован: 31.05.2016(UTC)
Сообщений: 1,303

Сказал(а) «Спасибо»: 359 раз
Поблагодарили: 202 раз в 189 постах

Вы в в каком браузере работаете с указанным расширением?

Ваше сообщение не совсем понятно, перечислены какие-то цифры и малоинформативное в целом.

Можете показать скрином?

Какой ID у расширения?


Вверх


Offline

Shipman68

 


#3
Оставлено
:

9 августа 2022 г. 15:55:00(UTC)

Shipman68

Статус: Новичок

Группы: Участники

Зарегистрирован: 09.08.2022(UTC)
Сообщений: 5

Chrome 103.0.5060.134 (но пробовал и последнюю)
Идентификатор расширения iifchhfnnmpdbibifmljnfjhpififfog ver. 1.2.8
Криптопро ЭЦП браузер плагин 2.0.14590


Вверх


Offline

nickm

 


#4
Оставлено
:

9 августа 2022 г. 16:10:25(UTC)

nickm

Статус: Активный участник

Группы: Участники

Зарегистрирован: 31.05.2016(UTC)
Сообщений: 1,303

Сказал(а) «Спасибо»: 359 раз
Поблагодарили: 202 раз в 189 постах

Автор: Shipman68 Перейти к цитате

Chrome 103.0.5060.134 (но пробовал и последнюю)
Идентификатор расширения iifchhfnnmpdbibifmljnfjhpififfog ver. 1.2.8
Криптопро ЭЦП браузер плагин 2.0.14590

В целом всё на месте.

Можно поступить следующим образом, открыть тестовую страницу плагина и глянуть ошибки/ сообщения в панели разработчика по нажатию F12, может что и увидите.

Отредактировано пользователем 9 августа 2022 г. 16:13:08(UTC)
 | Причина: Не указана


Вверх


Offline

Shipman68

 


#5
Оставлено
:

9 августа 2022 г. 16:16:49(UTC)

Shipman68

Статус: Новичок

Группы: Участники

Зарегистрирован: 09.08.2022(UTC)
Сообщений: 5

Дело в том, что подписание и в ИЕ не работает, там вообще расширение не нужно. Может подскажите, где найти архив плагина, грешу на него, попробовал бы разные версии.


Вверх


Offline

nickm

 


#6
Оставлено
:

9 августа 2022 г. 16:25:49(UTC)

nickm

Статус: Активный участник

Группы: Участники

Зарегистрирован: 31.05.2016(UTC)
Сообщений: 1,303

Сказал(а) «Спасибо»: 359 раз
Поблагодарили: 202 раз в 189 постах

Автор: Shipman68 Перейти к цитате

Дело в том, что подписание и в ИЕ не работает, там вообще расширение не нужно. Может подскажите, где найти архив плагина, грешу на него, попробовал бы разные версии.

А что в IE происходит?
Там используется ActiveX-библиотека плагина:

UserPostedImage

У Меня имеются несколько сохранённых версий, но это наверное не самая лучшая идея использовать древние версии ПО.
В новых версиях устраняются ошибки и появляется новый функционал и разработчики ИС стремятся его задействовать.

Пробовали полное удаление и установку плагина?
Ошибок на ровном месте уж не бывает.

Отредактировано пользователем 9 августа 2022 г. 16:39:20(UTC)
 | Причина: Не указана


Вверх


Offline

Shipman68

 


#7
Оставлено
:

9 августа 2022 г. 16:33:14(UTC)

Shipman68

Статус: Новичок

Группы: Участники

Зарегистрирован: 09.08.2022(UTC)
Сообщений: 5

У меня в надстройках ИЕ даже не появляются компоненты Криптопро.


Вверх


Offline

Shipman68

 


#8
Оставлено
:

9 августа 2022 г. 16:40:59(UTC)

Shipman68

Статус: Новичок

Группы: Участники

Зарегистрирован: 09.08.2022(UTC)
Сообщений: 5

Полное удаление средствами Криптопро делал не раз😀


Вверх


Offline

nickm

 


#9
Оставлено
:

9 августа 2022 г. 16:52:52(UTC)

nickm

Статус: Активный участник

Группы: Участники

Зарегистрирован: 31.05.2016(UTC)
Сообщений: 1,303

Сказал(а) «Спасибо»: 359 раз
Поблагодарили: 202 раз в 189 постах

Автор: 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:

  1. Go to ‘Extensions’
  2. 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»
}`

Понравилась статья? Поделить с друзьями:
  • Mangalib ошибка 404
  • Managed by capsman ошибка mikrotik после сброса
  • Man ошибки inst
  • Man ошибка ffr 3277
  • Man ошибка 609