MozillaZine

[Ext] BackTrack Tab History

Announce and Discuss the Latest Theme and Extension Releases.
pintassilgo
 
Posts: 186
Joined: August 30th, 2013, 3:50 pm

Post Posted August 21st, 2018, 4:02 pm

Thank you.

Today, XPCOMUtils.generateQI was replaced by ChromeUtils.generateQI (1484466), but since you taget DevEd I will not post this kind of thing anymore, unless it reaches DevEd.

AlexVallat
 
Posts: 83
Joined: September 30th, 2006, 8:53 am

Post Posted August 22nd, 2018, 12:54 am

Thanks, no, that actually is super useful. I just got an email from Mozilla saying that they would not accept any updates to addons that were not WebExtensions from September 6th, so my new plan is to target the Nightly of September 5th! This fix, and any others between now and then, will go into a final update just before the deadline.

After that, we'll see what the further possibilities are. I had hoped to be able to do something WebExtension Experiment based, but unless there's any movement on (1460555) it's not going to work.

pintassilgo
 
Posts: 186
Joined: August 30th, 2013, 3:50 pm

Post Posted August 23rd, 2018, 7:14 pm

That's why I think that AutoConfig may be the future, despite being complicated to set up. It may be the only way to run unrestricted code.

---

pintassilgo wrote:The same for the two
Code: Select all
openLinkIn
in calibration code.


0.21 hasn't added triggeringPrincipal in openLinkIn (Auto-Calibrate button).
https://bugzilla.mozilla.org/show_bug.cgi?id=1364392

AlexVallat
 
Posts: 83
Joined: September 30th, 2006, 8:53 am

Post Posted August 24th, 2018, 12:10 am

I was trying to think of a solution to keep it on AMO, if at all possible. I know AMO doesn't allow Experiments on there, but I'm not sure of the policy on addons which are not experiments themselves, but depend on experiments. If that's not allowed either then it probably won't be possible to keep it on AMO at all, and I'll have to look for somewhere else to list it.

I'll make sure the auto-calibrate code works before the September 5th deadline.

AlexVallat
 
Posts: 83
Joined: September 30th, 2006, 8:53 am

Post Posted November 27th, 2018, 8:44 am

I have uploaded a new version of BackTrack Tab History that changes from being a Legacy extension with embedded WebExtension to being a WebExtension with embedded Legacy extension. The reason for this is that Mozilla removed embedded WebExtension support from Firefox 65 (1500265)

In order to make this work, the WebExtension experiment LegacyHelper must be installed. At present there is still an open bug 1460555 which means that WebExtensions that depend on WebExtension experiments don't enable properly when fully installed (rather than temporarily loaded), so it might take some manual enabling and disabling until Firefox finally enables it properly.

I've tagged this as compatible with FF65 (Nightly, at time of writing), as FF64 still works with the old system. However, the new version should also be compatible with 64 so if anyone would like to use it with 64 already, it can be manually installed.

PeterBurner
 
Posts: 3
Joined: December 15th, 2018, 3:30 pm

Post Posted December 15th, 2018, 3:59 pm

hi @AlexVallat, thanks for your great addon
I am using the Temporary Containers addon
it creates a new container every time I navigate to another domain, hence the back/forward history is only available within the same domain
thanks to your addon the history is copied like it normally would without containers
unfortunately if I navigate back from one domain to a previous one the history of the back and forward button goes missing
I know your addon is primarily intended to be used with tabs but could you look into it?

AlexVallat
 
Posts: 83
Joined: September 30th, 2006, 8:53 am

Post Posted December 16th, 2018, 3:12 am

Hi @PeterBurner, I've installed Temporary Containers and have been trying to reproduce the issue without success. Are you using BackTrack Tab History v0.26? Do you have the "Go back to other tab" preference turned on for BackTrack? There are a whole lot of options in Temporary Containers, are you able to give me a minimum configuration that reproduces the issue?

The steps I took, after installing Temporary Containers:
1) Enable Isolation/Global/Left mouse/If the clicked Link Domain does not exactly match the current Tabs Domain (Subdomains also get isolated)
2) Go to example.com
3) Left Click "More information..." link
This results in a new tab opening in a temporary container. The new tab has the back button enabled, with "Example Domain" as the history. Clicking the back button results in either closing the new tab and focusing the example.com tab (if "Go back to other tab" is turned on for BackTrack) or navigating to Example Domain in the same temporary container if the "Go back to other tab" is turned off.

PeterBurner
 
Posts: 3
Joined: December 15th, 2018, 3:30 pm

Post Posted December 16th, 2018, 3:30 am

Ah sorry
I have enabled the "Automatic Mode" and the option "Isolation/Global/Navigating in Tabs should open new Temporary Containers" for domains

AlexVallat
 
Posts: 83
Joined: September 30th, 2006, 8:53 am

Post Posted December 16th, 2018, 3:47 am

OK, I see what the problem is. The new tab opened by navigating back to a different domain does not have the history copied to it because BackTrack does not consider it to be a child tab of the current tab. It is not opened as a result of a click on the page content, so it's regarded more like opening a bookmark or entering a new URL, or clicking the New Tab button. Middle-clicking or Shift-clicking on History menu entries gets special treatment too. But arbitrary tabs opened by other addons cannot be automatically regarded as chidren of the current page.

I think this is going to have to be as-design, though, I don't want it to copy history to all new tabs. Your best bet is tweaking some of the (many, many) settings of Temporary Containers to get a workflow that meets your requirements. As far as BackTrack is concerned, if a tab is opened as a result of a click on a page, it is considered a child of that page.

PeterBurner
 
Posts: 3
Joined: December 15th, 2018, 3:30 pm

Post Posted December 23rd, 2018, 11:05 am

OK
thanks

talkingleaf
 
Posts: 2
Joined: February 9th, 2020, 2:32 pm

Post Posted February 9th, 2020, 3:06 pm

Hi @AlexVallat, I left the review from earlier today at AMO. Your add-on really improves my quality of life, so your work on it is much appreciated. It hasn't been working for me for a while, however. I use the Developer Edition, primarily so I can use your extension. I've been traveling extensively for several months, away from my primary computer, so I'm not sure when it quit working for me exactly. I installed Nightly earlier today to see if worked with a clean install, and it did not. I checked extensions.experiments.enabled setting per your suggestion, and it's set to true in both my nightly and developer instances. Additionally, it appears that none of the preferences are holding at all in the Nightly instance. Any insight would be greatly appreciated. Let me know if I can provide any further information.

AlexVallat
 
Posts: 83
Joined: September 30th, 2006, 8:53 am

Post Posted February 10th, 2020, 8:13 am

Hello @talkingleaf. I have got this working in Nightly, so it should be possible in principle. When it starts playing up like this I often find that the best thing to do is to start enabling and disabling the Legacy Helper add-on and then BackTrack Tab History Add-On until something shakes loose and Firefox actually loads them. As long as the necessary preferences (xpinstall.signatures.required = false and extensions.legacy.enabled = true) are both set then it should be able to load. Once they load correctly it seems to be fine even after restart, but the whole experiments loading thing is very fragile. It would be nice to think it might be improved in the future, but unfortunately it looks more likely that they will just remove support for them entirely.

talkingleaf
 
Posts: 2
Joined: February 9th, 2020, 2:32 pm

Post Posted February 10th, 2020, 1:46 pm

I do have the prefs set correctly. I'll try the enabling/disabling trick and see if that fixes it for me. I wouldn't be surprised if experiments support is removed, though disappointed. Mozilla seems to be discouraging configuration & user freedom these days, alas. At any rate, thank you for your assistance!

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 3 guests