Closed Martii closed 6 years ago
Reported upstream at greasemonkey#1406
Issue first appears in greasemonkey@d6dd73a
@makondo
I've returnedfalse
all the time in TMPs contentLinks.js and this seems to resolve the middle clicking and Ctrl+click issues with GM HEAD and TMP release.function TMP_isGreasemonkeyScript(event, target) { if (event.button == 2) return false; if ("GM_BrowserUI" in window && GM_getEnabled()) { var url = target.getAttribute("href"); if (url && url.match(/\.user\.js(\?|$)/i)) return false; // return true; } return false; }I believe that this test is no longer necessary in the current GM HEAD and nightly builds from Anthony. Please confirm.
Thanks,
- Marti -
See also greasemonkey#1406
Comment cross-stream@makondo@arantius Please confirm as well. Modified tabmixplus 0.3.8.6 with version bump to 8.0a2 (portions of TMP don't work in this alpha btw) can be found here.
I've returnedfalse
all the time in TMPs contentLinks.js and this seems to resolve the middle clicking and Ctrl+click issues with GM HEAD and TMP release.function TMP_isGreasemonkeyScript(event, target) { if (event.button == 2) return false; if ("GM_BrowserUI" in window && GM_getEnabled()) { var url = target.getAttribute("href"); if (url && url.match(/\.user\.js(\?|$)/i)) return false; // return true; } return false; }I believe that this test is no longer necessary in the current GM HEAD and nightly builds from Anthony. Please confirm.
Thanks,
- Marti -
See also greasemonkey#1406
arantius wrote:
Tentatively WONTFIXing this, because the error is purely inside TMP, not our code. I'm trying to reach out to their developer.
arantius wrote:
Confirmed with TMP developer, fix will be there.
Will close shortly after TMP releases a fix on AMO.
Additional commit found at greasemonkey@3c49385 (GM 0.9.11) to "workaround" this issue. This is a temporary fix since the beta dev build of TMP appears to not have any kind fix as of yet.
@makondo and onemen, Why exactly is TMP intercepting QSP parms on user.js files?
About 6 months ago I discovered that a user.js with a QSP wasn't opening in a new window even in previous GM and TMP versions but I didn't put two and two together that TMP was doing this until upstream GM moved to an object. The suggested workaround given here:I don't know if this was posted before or not since I haven't searched this thread, but the easiest fix for the compatibility issue between GM and TMP is to change line 449 in contentLinks.js from:would be a little better however the GM workaround will eventually drop off when TMP chooses a different test. I can see if I can re-recommend an API specific to other add-on developers to Anthony however Moz is currently taking a lot of steps to eliminate the pollution to prevent add-on incompatibility just like this and may eventually reject TMP updates due to this. I do like TMP and I would like to throw around some ideas about how to resolve this but I need the question above answered first. Thanks, - Marti - See also:if ("GM_BrowserUI" in window && GM_getEnabled()) {to:if ("GM_BrowserUI" in window && Application.prefs.getValue("greasemonkey.enabled", false)) {
Greasemonkey has introduced a conflict with Tab Mix Plus when trying to open links in new tabs. It is unclear which add-on is responsible but it has been experienced by myself and at least one other at:
Temporary workaround is to disable TMP or revert to an earlier GM version.
See also: TMP forum for cross-stream reporting.