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

All rules "striken out" and disabled after Mac OS Update: need to restore prior state of TamperMonkey scripts #652

Closed
dmland opened this issue Feb 19, 2019 · 4 comments

Comments

@dmland
Copy link

dmland commented Feb 19, 2019

(Please fill out the issue template with your details)

Expected Behavior:

Scripts that I've been using for several years continue to work.

Actual Behavior:

ALL of my scripts have been disabled and I now have no way of knowing which of my 150 scripts were enabled and which were disabled before they were all unconditionally disabled.

Disabled scripts have the following title attribute:

Warning: The origin of this script can't be determined.
Either it was installed by a malicious third party to steal you private data or some basic browser settings, your operation system or hardware has changed!
Please open, review and save the script to enable it.

Note: recently was "forced" to update my operating system. How am I supposed to know which scripts were enabled prior to the upgrade so I can restore the state of my carefully-curated collection of scripts?

Specifications

  • Google Chrome 72.0.3626.109
  • TM: v4.9.5914
  • OS: Mac OS 10.14.3 (18D109)

Script:

Not Applicable – All of my scripts are disabled.

@dmland dmland changed the title All of my rules are disabled (strike through with warning about malicious scripts) All of my rules are disabled after required Mac OS Update: Can't tell which were active/inactive before update. Feb 19, 2019
@dmland
Copy link
Author

dmland commented Feb 19, 2019

Follow-up: I notice that some of the script titles are Gray (and striken through) and some are black (and stricken through). I assume that this is an indication that they were either disabled or enabled prior to the upgrade.

Still, without laboriously opening and re-saving all 150 scripts (which will take hours of wasted time), Is there any way to tell Tampermonkey to trust the scripts I have installed and restore their prior active/inactive states?

Also: As a test, I re-saved ("modified" without making any changes, what a stupid idea) a couple of scripts. I notice that this changed the "Last Updated" column for those scripts. I use that information. I see that it will be lost if I follow Tampermonkey's instructions following the OS update. Is there any way to simply restore the state of Tampermonkey as it was

@dmland dmland changed the title All of my rules are disabled after required Mac OS Update: Can't tell which were active/inactive before update. All rules disabled after Mac OS Update: Want to restore prior state of TamperMonkey. Feb 19, 2019
@dmland dmland changed the title All rules disabled after Mac OS Update: Want to restore prior state of TamperMonkey. All rules disabled after Mac OS Update: Want to restore prior state of TamperMonkey scripts Feb 19, 2019
@dmland dmland changed the title All rules disabled after Mac OS Update: Want to restore prior state of TamperMonkey scripts All rules "striken out" and disabled after Mac OS Update: need to restore prior state of TamperMonkey scripts Feb 19, 2019
@dmland
Copy link
Author

dmland commented Mar 4, 2019

It's been 2 weeks, and I've had to give up on preserving the "last time updated". I got no response here (I understand: it's a volunteer effort), so I'm giving up on getting one.

@dmland dmland closed this as completed Mar 4, 2019
@derjanb
Copy link
Member

derjanb commented Mar 5, 2019

Sorry for the delay. You can restore the previous state by running this at the extension's background page console:

scbr.getUidList().forEach(function(uid) {
    var s = scbr.getByUid(uid);
    s.script.evilness = 0;
    scma.doModify(uid, s.script, true);
});

@dmland
Copy link
Author

dmland commented Apr 6, 2019

What a beautiful thing this is! Thank you so much for saving me a LOT of time.

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

2 participants