Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tampermonkey extension stopped working on Opera #2297

Open
Pieszczur opened this issue Dec 13, 2024 · 21 comments
Open

Tampermonkey extension stopped working on Opera #2297

Pieszczur opened this issue Dec 13, 2024 · 21 comments

Comments

@Pieszczur
Copy link

(Please fill out the issue template with your details)

Expected Behavior

Actual Behavior

Doesn't work even after reinstall and updating

Specifications

  • Chromium: (i.e. 64.0.3282.140)
  • TM: (i.e. 4.5.5648)
  • OS: (i.e. MacOS 10.13.4)

Script

(Please give an example of the script if applicable.)

// ==UserScript==
// @name MyName
// @namespace http://mywebsite.com
// @Version 1.0
// @description try to take over the world!
// @author Me
// @match http://mywebsite.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @include https://mywebsite.com/*
// @grant none
// ==/UserScript==
@globalwebdev
Copy link

I can confirm this, clicking the extension icon just shows a loading icon then an error.

image

@eldepor
Copy link

eldepor commented Dec 14, 2024

Same

@11class09
Copy link

Where in opera are the scripts that were uploaded to tampermonkey? How do I get them?

@eldepor
Copy link

eldepor commented Dec 14, 2024

You can download older releases of extensions from here https://www.crx4chrome.com/. But the problem are the scripts. I can't find them anywhere in the system and I'm afraid that if you uninstall tampermonkey you will lose them

@Tampermonkey Tampermonkey deleted a comment from globalwebdev Dec 14, 2024
@derjanb
Copy link
Member

derjanb commented Dec 14, 2024

Tampermonkey extension stopped working on Opera

Tampermonkey's manifest requires Chrome 120 and above. So the opera store should not update to 5.3.6222 at Opera [whatever version you're using, which depends on Chrome 119 or below].

So this is a Opera store bug.

If you want to install Tampermonkey at older Opera versions, then please install Tampermonkey Legacy from the Chrome Web store.

If you're Opera is to old to download from there and you don't have the Install Chrome Extensions addon installed (not available anymore), then you have to download Tampermonkey Legacy crx from here nad drag an drop the file to the opera://extensions page.

Other release files: https://tmnk.net/faq#Q406

I'm afraid that if you uninstall tampermonkey you will lose them

Yes, uninstalling will clean the extension storage.

Where in opera are the scripts that were uploaded to tampermonkey? How do I get them?

The FAQ answers this here. You just have to replace the "Chrome" folder name with the Opera one. Here you can find a script to extract your scripts.

#2296 #2295

@derjanb derjanb pinned this issue Dec 14, 2024
@eldepor
Copy link

eldepor commented Dec 14, 2024

Thanks for the legacy .crx. That script didnt work for me. This one did

@eldepor
Copy link

eldepor commented Dec 14, 2024

Another thing I tried that worked is, without uninstalling the 5.3.6222 "bugged" opera version extension, install the clean legacy version, go to C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\[BUGGED_VERSION_ID] folder, and copy all the contents to the new C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\[LEGACY_VERSION_ID] legacy folder.

In my case I coped all the contents from here
C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\mfdhdgbonjidekjkjmjaneanmdmpmidf
to here
C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\bnimknkampfeeemccidiigealnpoheap

@derjanb
Copy link
Member

derjanb commented Dec 14, 2024

@eldepor This is a great solution.

Sorry for all the inconvenience that the migration to MV3 causes, but not adapting to it is not a solution either.

@Ajoris-spec
Copy link

And how to prevent the Tampermonkey extension from being updated to version 5.3.6222 in Opera?

@eldepor
Copy link

eldepor commented Dec 16, 2024

__

And how to prevent the Tampermonkey extension from being updated to version 5.3.6222 in Opera?

Back up you actual version from extension manager and load it externally.

@derjanb
Copy link
Member

derjanb commented Dec 16, 2024

how to prevent the Tampermonkey extension from being updated to version 5.3.6222 in Opera?

...or backup everything and use Tampermonkey Legacy crx from here it will stay a MV2 extension forever.

@conradRz
Copy link

conradRz commented Dec 17, 2024

Stopped working in Chrome (no surprise given it uses the same extension code). Likely caused by 5th Dec update.
Rollback of the extension's version solved the problem - back up from the cloud is perfect!
Disappointed about tests in production on such a major extension though, some of us use it for critical stuff, or money involved stuff.

@derjanb
Copy link
Member

derjanb commented Dec 17, 2024

@conradRz This issue is about the Opera store updating Tampermonkey at Opera versions that are not readdy for MV3. So you've encountered a different problem. Please open a new bug report. If possible check the background context console for errors and add them.

Disappointed about tests in production on such a major extension though

Haven't received many reports of problems at Chrome recently, even though some "background noise" on updates is normal. 🤷

@Ajoris-spec
Copy link

як запобігти оновленню розширення Tampermonkey до версії 5.3.6222 в Opera?

...або створіть резервну копію всього та використовуйте Tampermonkey Legacy crx звідси , це назавжди залишиться розширенням MV2.

Tampermonkey downloaded the old version. But there are no scripts. How to copy them?

@eldepor
Copy link

eldepor commented Dec 19, 2024

як запобігти оновленню розширення Tampermonkey до версії 5.3.6222 в Opera?

...або створіть резервну копію всього та використовуйте Tampermonkey Legacy crx звідси , це назавжди залишиться розширенням MV2.

Tampermonkey downloaded the old version. But there are no scripts. How to copy them?

It's explained above...

#2297 (comment)
#2297 (comment)
#2297 (comment)

@MaxKillemAll
Copy link

Объясню проще

  1. Скачиваешь отсюда https://www.crx4chrome.com/crx/363794/ и устанавливаешь 5.1.1 не удаляя версию 5.3.6222
  2. По пути C:\Users[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings создастя папка bnimknkampfeeemccidiigealnpoheap
  3. Берешь всё что есть в папке C:\Users[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\mfdhdgbonjidekjkjmjaneanmdmpmidf и копируешь в папку bnimknkampfeeemccidiigealnpoheap
  4. Таким образом перенесутся скрипты которые стояли раньше.
  5. Подключаешь 5.1.1
  6. Отключаешь 5.3.6222
  7. Пользуешься

@Ajoris-spec
Copy link

Ajoris-spec commented Dec 23, 2024

Объясню проще

  1. Скачиваешь отсюда https://www.crx4chrome.com/crx/363794/ и устанавливаешь 5.1.1 не удаляя версию 5.3.6222
  2. По пути C:\Users[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings создастя папка bnimknkampfeeemccidiigealnpoheap

Спасибо. Не помогло конечно, но расписал доходчиво.

@derjanb
Copy link
Member

derjanb commented Dec 23, 2024

I'd suggest to use the official download URL instead: https://www.tampermonkey.net/crx/tampermonkey_legacy.crx

@Ajoris-spec
Copy link

Натомість я пропоную використовувати офіційну URL-адресу для завантаження: https://www.tampermonkey.net/crx/tampermonkey_legacy.crx

I have a portable version of Opera.

  1. I download the extension and add it to Opera.
  2. I copy all the files from the folder C:\PF_Opera_8.4\profile\data\Local Extension Settings\mfdhdgbonjidekjkjmjaneanmdmpmidf to the bnimknkampfeeemccidiigealnpoheap folder
  3. There are scripts, but they don’t work.

@TurbulentGoat
Copy link

TurbulentGoat commented Dec 26, 2024

Editing my comment. I was having issues with it, the same as those above, but I resolved it completely by opening my system monitor and killing ALL Brave processes. I know, I should have done this first. Once I opened the browser again, TM worked with no issues at all.

@tttony
Copy link

tttony commented Dec 30, 2024

Another thing I tried that worked is, without uninstalling the 5.3.6222 "bugged" opera version extension, install the clean legacy version, go to C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\[BUGGED_VERSION_ID] folder, and copy all the contents to the new C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\[LEGACY_VERSION_ID] legacy folder.

In my case I coped all the contents from here C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\mfdhdgbonjidekjkjmjaneanmdmpmidf to here C:\Users\[USERNAME]\AppData\Roaming\Opera Software\Opera Stable\Local Extension Settings\bnimknkampfeeemccidiigealnpoheap

Thanks that worked for me!

  1. Download TM Legacy, Opera will show a message that can't be installed for security reasons, click the message it will show the extension to install, just click on Install
  2. Close Opera
  3. Copy old TM %APPDATA%\Opera Software\Opera Stable\Local Extension Settings\mfdhdgbonjidekjkjmjaneanmdmpmidf folder content to the TM Legacy folder %APPDATA%\Opera Software\Opera Stable\Local Extension Settings\bnimknkampfeeemccidiigealnpoheap
  4. Open Opera and you will see the scripts

%APPDATA% should point to: C:\Users\[USERNAME]\AppData\Roaming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants