-
Notifications
You must be signed in to change notification settings - Fork 7
Adding files to the script directory disables the extension #14
Comments
I'll have to take a look at this, I currently don't test on anything except the release versions, so officially I don't support dev channels. The reason the files got removed is because the extension is reinstalled by chrome, which purges all files first (and is also why I HIGHLY recommend using symlinks) |
@p3lim, I got same problem on release channel (Version 39.0.2171.65 m). I already tried to create links to /scripts and /styles folders and even to each my script and style, but Chrome disabled extension anyway. |
I've just started finding this too, as annoying Twitter/FB sidebars are back. Both Windows and Mac so seems likely a Chrome update is responsible |
The corruption warning is just that, a warning. If you don't click repair it'll still work just fine (from what I can tell), and the repair button simply reinstalls the extension (thus removing all your files/symlinks). I don't see a way of resolving this, as the sandboxed environment in chrome is very strict, and short of running a server serving scripts (like the original dotjs), there are not many options left. |
I'm not so sure. I've got files installed to remove sidebars from Facebook and Twitter and they don't seem to be working, or more accurately they do but very inconsistently (most often they fail). The scripts work in the console: https://gist.github.com/geotheory/d97250e2429bbf12ff85 Any idea why this might be - something to do with delayed loading of the sidebars? It might help if there was a way to add a delay before running the script.. |
You could wait for DOM to be loaded, like so: document.addEventListener('DOMContentLoaded', function(){
// do stuff here
}); Or with jQuery: $(document).ready(function(){
// do stuff here
}) |
Thanks Adrian It’s working very erratically. I think I’ve established the following:
Is this useful? Robin From: Adrian L Lange [mailto:[email protected]] You could wait for DOM to be loaded, like so: document.addEventListener('DOMContentLoaded', function(){ Or with jQuery: $(document).ready(function(){ — |
Getting the same thing. Currently running Chrome 39.0.2171.99 m on Win 8.1. I tried adding a window.alert() to default.js. Got the popup first time I did anything, but then the extension was marked as corrupt and no more popups. Also Google told me it was disabled if I went to the store page. |
I can't think of anything that I could do to resolve this issue, the updates to Chrome has sadly killed this extension. Until it is resolved (if ever), I suggest looking at the original extension or something like tampermonkey. Feel free to submit patches or ideas of how to fix this. |
It's sad that this extension stopped working. I'm thinking of
|
RIP dotjs-universal |
Yeah, I'm really sad about this too. Still looking for other options, but nothing was quite as elegant. I'll go back to trying plain dotjs, but tampermonkey is a bit too heavy-handed for me. |
@leesei I had a plan on making something like you suggested (a full UI with editor), even with support for syncing the scripts with a GitHub repository, but I figured that Tampermonkey would be a better solution in almost every case, and I ended up ditching the idea. |
Once I add any file inside the extension's folder, the extension is disabled in chrome with the message: This extension may have been corrupted. Repairing the extension removes any files I've added to /scripts and /styles.
I'm unable to disable the Extension Content Verification flag (chrome://flags/#extension-content-verification) in Chrome 40.0.2209.0 dev.
Any ideas?
The text was updated successfully, but these errors were encountered: