totallymike / contextplus Goto Github PK
View Code? Open in Web Editor NEWTake stuff in a tab and move that stuff to a new tab in a new container.
Home Page: https://addons.mozilla.org/addon/context-plus/
License: Mozilla Public License 2.0
Take stuff in a tab and move that stuff to a new tab in a new container.
Home Page: https://addons.mozilla.org/addon/context-plus/
License: Mozilla Public License 2.0
Middle-clicking (clicking down your mouse-wheel that is) on any element in your browser or on a web site usually opens that element or link in a new tab. Even the browsing history works this way. Therefore, after right-clicking a tab and going to Move to Context, middle-clicking any context should duplicate that tab but in the context selected. Besides keeping consistency with the rest of the web browser, I would personally find it very useful.
Containers are listed in the Move to context submenu but when a context (container) is selected, no move occurs.
With Control whilst selecting a context, no copy occurs.
I tried installations for Linux, for Mac OS X and for Windows.
$ pkg info firefox
firefox-53.0.2,1
Name : firefox
Version : 53.0.2,1
Installed on : Sun May 28 15:09:33 2017 BST
Origin : www/firefox
Architecture : FreeBSD:12:amd64
Prefix : /usr/local
Categories : ipv6 www
Licenses :
Maintainer : [email protected]
WWW : http://www.mozilla.com/firefox
Comment : Web browser based on the browser portion of Mozilla
Options :
ALSA : on
BUNDLED_CAIRO : on
CANBERRA : off
DBUS : on
DEBUG : off
DTRACE : on
FFMPEG : on
GCONF : off
GNOMEUI : off
INTEGER_SAMPLES: off
LIBPROXY : off
OPTIMIZED_CFLAGS: on
PGO : off
PROFILE : off
PULSEAUDIO : on
RUST : on
SNDIO : off
TEST : off
Shared Libs required:
libdbus-glib-1.so.2
libgtk-x11-2.0.so.0
libXext.so.6
libpango-1.0.so.0
libjpeg.so.8
libpixman-1.so.0
libsqlite3.so.0
libicuuc.so.58
libcairo.so.2
libgtk-3.so.0
libffi.so.6
libxcb-shm.so.0
libX11-xcb.so.1
libfreetype.so.6
libcairo-gobject.so.2
libatk-1.0.so.0
libhunspell-1.6.so.0
libevent-2.1.so.6
libvpx.so.4
libplc4.so
libXcomposite.so.1
libxcb.so.1
libicui18n.so.58
libgio-2.0.so.0
libssl3.so
libXfixes.so.3
libnss3.so
libgdk_pixbuf-2.0.so.0
libogg.so.0
libv4l2.so.0
libgobject-2.0.so.0
libnssutil3.so
libplds4.so
libharfbuzz.so.0
libstartup-notification-1.so.0
libX11.so.6
libdbus-1.so.3
libXdamage.so.1
libnspr4.so
libXt.so.6
libgraphite2.so.3
libglib-2.0.so.0
libpng16.so.16
libXrender.so.1
libvorbis.so.0
libgdk-x11-2.0.so.0
libfontconfig.so.1
libsmime3.so
libgdk-3.so.0
Annotations :
cpe : cpe:2.3:a:mozilla:firefox:53.0.2:::::freebsd12:x64
icon : http://www.pcbsd.org/appcafe/icons/www_firefox.png
no_provide_shlib: yes
screen1 : http://www.pcbsd.org/appcafe/screenshots/www/firefox/screen1.png
screen2 : http://www.pcbsd.org/appcafe/screenshots/www/firefox/screen2.png
Flat size : 128MiB
Description :
Mozilla Firefox is a free and open source web browser descended from the
Mozilla Application Suite. It is small, fast and easy to use, and offers
many advanced features:
o Popup Blocking
o Tabbed Browsing
o Live Bookmarks (ie. RSS)
o Extensions
o Themes
o FastFind
o Improved Security
WWW: http://www.mozilla.com/firefox
$
$ about
===================
General information
===================
boot environment now (N) … 12.0-CURRENT-up-20170602_210748 NR 2017-06-02
after restart (R) … 12.0-CURRENT-up-20170602_210748 NR 2017-06-02
boot loader …………………………………… BSD
type ……………………… EFI
CPU ………………………………………………………… Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
number of cores ……………… 4
host ……………………………………………………… momh167-gjp4-hpelitebook850g2-trueos.university.brighton.ac.uk
memory ………………………………………………… 16384 MB available, 6395 MB free
OS git branch ……………………………………………………………………………………… trueos-stable
OS git revision ………………………………………………………………………………… d7b9fac18
OS kernel build time ………………………………………………………… Mon 2017 May 29 20:21:45 UTC
OS kernel identity …………………………………………… (uname -i) GENERIC
OS platform (architecture) ……………………… (uname -m) amd64
OS release level ………………………………………………… (uname -r) 12.0-CURRENT
OS version and patch level …… (freebsd-version) 12.0-CURRENT
TrueOS package set ………………… CUSTOM
TrueOS version …………………………… TrueOS-Desktop-201706021450
uptime ………………………………………………… 1:40
user …………………………………………………… grahamperrin
More (TrueOS Desktop):
desktop environment …… KDE
sound card driver ………… pcm1: <Realtek ALC280 (Analog 2.0+HP/2.0)> on hdaa1 (1p:1v/1r:1v) default
wireless driver ……………… iwm0
X11 drivers ………………………… intel_drv.so
$
Can you add menuitem for open bookmark items in specific container too?
So the name of this addon is pretty dumb. When I first threw it together, I had a few other things I wanted to address about containers (but I can't remember what they were anymore).
But this addon only does one thing, so the name doesn't make sense.
Should it be renamed? How much would that screw up the ability to find it?
Thoughts?
Change the context of multiple tabs.
Both Context Plus and MultiSelect Tabs will be compatible with Firefox 57.
Please: might there be cooperative development of the two extensions, for the two to somehow work with each other?
Or (given WebExtensions and other APIs) will it make more sense to make the enhancement to just one of the two?
Add support for moving tabs to container · Issue #18 · mikeconley/multi-select-tabs
… multiple tabs to an existing container …
– or from a named container, to Default.
Rather than having a separate add-on to switch contexts, can this feature be added to the official Containers Experiment add-on (through a PR if accepted?). Or, do you plan on adding more features related to container tabs?
Just downloaded this addon and installed it with FF 60.1.0 ESR. I have plenty of container tabs opened. When I right click on such a tab, no 'Move to context' item is there. Though I'm not sure I'm looking at the right place as I haven't seen this addon working, ever.
Windows 7 Pro x64
FF 60.1.0 ESR x64
ContextPlus 0.6.0
To change context, currently, you right-click on a tab, go to Move to Context, and then choose your context. I feel this is too slow. And I only have one context, so going into a submenu item feels a bit bothersome. I wish there was a slightly faster way to switch. Maybe an option to display all contexts directly when right-clicking? Or maybe make it possible to alt- shift- och ctrl-click the tab to cycle between contexts?
I'm playing with Containers and seeing how they work for me. I created one for Facebook. Only Facebook lives in there.
It seems wrong, then, how when I middle-click FB links that lead to outside sites/stories (to open them in new tabs) the outside sites still end up in the Facebook container.
It would be nice to be able to open these links in other containers, somehow.
The most basic implementation might send you to the default/generic container if you click while holding a certain key.
A (much) more complex one might let the user specify rules on how links from various container-ized sites should behave when clicked.
Not sure if this is out of scope or not; just mentioning an immediate concern that arose when experimenting with this stuff.
Right clicking on a blank tab and selecting new context/account sometimes does not change the context of that tab. I just had a situation, when I had to click on Open a new tab with the required context/account. That worked. However using existing blank tab wouldn't change the content, even when I tried to move it to a different context multiple times.
FF v108, v8.0.9
When using both Context Plus and Temporary containers
https://addons.mozilla.org/en-US/firefox/addon/temporary-containers/
Long gone (deleted) temp containers still show around in Context Plus UI.
Mentioned here, but invalid as it stems from Context Plus and not the original container functionality: https://bugzilla.mozilla.org/show_bug.cgi?id=1744937
It would be nice to have some GUI where an user could define mappings between url patterns and contexts, for instance:
*.facebook.com | Facebook
*.theguardian.com | News
*.washingtonpost.com | News
and contextPlus would match each tab's address and move them into the appropriate context automatically.
For me it would ease categorization (as some domains line up nicely with specific interests, for which I already use contexts manually), and improve privacy (by automatically moving some domains I distrust, but can't easily avoid using, into their own context).
ff disabled this add-on after an upgrade to 56.0.1 (64bit, Linux) and in https://addons.mozilla.org/en-US/firefox/addon/context-plus/, it says "not compatible with this version of firefox".
For example: loss of the title of this issue, if I change/move/switch to a different container before submission.
Re: https://github.com/mozilla/testpilot-containers/wiki/Moving-between-containers and the nature of Firefox containers, I assume that such losses are unavoidable. So please consider adding an on-screen hint … maybe by default, once per Firefox session, a modal dialogue that will give the user the opportunity to Cancel a move before it's too late.
Or maybe refrain from closing the tab from the original context, and (after the copy is complete) offer a non-modal dialogue in the new context.
Side note: kesselborn/conex#8
The menu should emulate the "Open Link in New Container Tab" one, and there are still a few minor differences (see attached screenshot for reference, you can obtain this menu by right-clicking on any link):
If we haven't hardcoded a container icon into this addon, the addon will throw an exception and fail.
When you have a site set to always open in some container using the checkbox on the intermediate landing page of "Multi-Account Containers", then this extension is unable to move it to another container because it will re-open in the container that was selected using the checkbox as mentioned above.
Anyway to circumvent that behavior without removing the setting of the checkbox?
After changing context of tab from middle of tab list - it goes to end of tab list, instead of replacing current position. Will be good to replace tab with keeping current tab position
Same problem was be on the Private Tab etension in older versions, but now solved. Can you look at the code and do the same thing when replacing tab? Thanks!
Context Plus stops working after recent Containers extension update (Firefox is still in same 53 version), seems something changed in api?
Menuitem is exists, but do nothing. Can you look and fix this?
Thanks you for the nice add-on this should be part of the default functionality so it is nice you stepped up.
Since you take the time to move a tab to a Container it would be nice to also make it the default container to open with vs having to do two steps each time.
I suggest letting us move about:newtab
to a context in order to prevent having to close and recreate it. Minor, but matters if you're used to changing containers.
Hey, first of all: i love your extension and those containers in general!
Would it be possible to assign a hotkey or a shortcut combination to cycle through contexts or maybe switch them?
Thanks in advance!
I have installed extension https://addons.mozilla.org/ru/firefox/addon/context-plus/?src=search on Firefox 53.0a1 (2016-11-25) (64-bit) - it installs and activates normally.
But on right-click menu on tab - I can't see any new items, there are no 'Move to context' item: http://i.imgur.com/gkuplD7.png
Maybe I need to do something for add this menuitem?
This would make it a lot easier since the mouse does not need to be moved.
Would you accept a pull request for this? :)
Thank you for this useful addon. Here are some feature ideas that could make users' life even easier.
For my default profile in Waterfox 56.0.2_1, two of my three containers are icon-free and colourless.
containers.json
comprises:
{"version":2,"lastUserContextId":33,"identities":[{"userContextId":5,"public":false,"icon":"","color":"","name":"userContextIdInternal.thumbnail","accessKey":""},{"userContextId":19,"public":true,"icon":"","color":"","name":"📱"},{"userContextId":31,"public":true,"icon":"","color":"","name":"🍋"},{"userContextId":32,"public":true,"icon":"circle","color":"blue","name":"classic AMO"}]}
root@momh167-gjp4-hpelitebook8570p-freebsd:~ # date ; uname -v
Fri 19 Jan 2018 04:18:41 GMT
FreeBSD 12.0-CURRENT #0 r320869: Mon Jul 10 13:57:55 UTC 2017 [email protected]:/usr/obj/usr/src/sys/GENERIC
https://www.freshports.org/www/waterfox
about:preferences#containers
(but I refrain from using that GUI to attempt edition of the📱 and 🍋 containers)Firefox 57.0.4
Context Plus 0.5.0
Could you add an option that change how Ctrl+T works ?
When the option is ticked, whenever you use the shortcut to open a new tab, it'll open it in the same context than the active tab.
If I right-click on a background/inactive tab the menu items assume I'm right-clicking on the selected/active tab which is very wrong.
I'm not sure if the web extension API allows you to be called when the context menu is opening but that would be useful. In the meantime I suggest including all contexts in the list, not excluding the ones for the selected tab.
Steps to reproduce:
I'm seeing this issue on Firefox 57 beta 6 on Debian Linux with Context Plus 0.4.2.
[Edit/Clarification] The new container is added to the context menu after a browser restart.
I see ccb26fe but 0.5.0 seems to work with Firefox 56.0.2 and Waterfox 56.0.2.
Please, are you aware of any feature that will not work with 56.x?
The risk of leaking information across a container is very high.
It would be great to filter out known parameters when reloading the URL.
This perhaps could be an external list similar to HTTPS everywhere which blocks params like utm_source
and filters other params based on content.
Please place link in github page https://github.com/totallymike/contextPlus to Firefox Addon page https://addons.mozilla.org/nn-no/firefox/addon/context-plus/
At first I try to build this extension manually from github, and only after some fails - find it in repositiory for quick installing.
I use Containers On The Go addon firefox addon - it quickly creates new containers, that available via all other Firefox interface immediately after creating. But they missed in contextPlus tab menu.
Seems contextPlus don't listen event when ContainersOnTheGo create new container, so don't update list of available containers.
Can you review and fix this? Thanks!
Sorry. Wrong repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.