I've used a Noobs installation in which chromium comes with an adblocker pre-installed in the default profile. The thing is that I've just created a second profile ("profile 1"), and see that it doesn't have the adblocker.
How do I activate the already existing adblocker from the default profile into this, the second one ?
On Sat, 18 Sep 2021 17:57:26 +0200, "R.Wieser" declaimed the following:
How old is that installation? The R-Pi foundation discontinued the NOOBS package some time back -- it was replaced by the "Raspberry Pi Imager"
Imager runs on desktop computers and is used to select from the available OS images, and writes just that image to the SD card. This is different from NOOBS, which ran /on/ the R-Pi and installed OS images somewhat "live". Most of the more obscure images have to be obtained separately, and Imager will then write them to the card.
Things like ad blockers are commonly third party plug-ins and are installed on a per-user (or perhaps profile if using multiple profiles with one user login) basis.
If it doesn't show up under Settings/Extensions you will probably have to use the "search" bar to locate the particular blocker in use. Using VNC to my small web-server R-Pi [I don't have a desktop running on the regular experiment R-Pi, just SSH] I see that its Chromium browser appears to have "uBlock Origins" installed. Note that searching for extensions likely means you will need a full Internet access from the R-Pi.
I don't think you're just going to be able to copy it from one profile to another -- they seem to be saved in randomly generated directory names (which are probably linked via some database to the extension)... cf:
Well ... what would happen when that database is also copied to the new profile ?
I could just copy the "Default" profile folder to "Profile 1", throw the "cookies.txt" file out and see if that will work. But if someone has already done something like that I would be a fool not to try to make use of what they have already found out. Hence me asking. :-)
There are SQLite databases stuffed throughout... (16 in "Default" alone).
OTOH, the only higher level one appears to be something for cookies. Chromium may use the profile name directly.
But since one normally uses profiles to separate browsing interests, and with 16 SQLite3 databases in a profile, unless you are prepared to install an SQLite3 command line or GUI tool, and peruse the table contents of each of the 16 to sanitize them (and that may require figuring out how stuff is linked between tables), it is probably better to just install a fresh ad blocker using the profile itself.
Wulfraed Dennis Lee Bieber AF6VN
That is why I asked if anyone had any kind of knowledge about it. :-)
??? I suggested to just copy, next to the folder containing the extensions, the database containing the information to those extensions. All other databases would be the fresh ones created for the new profile.
Not as far as I'm concerned, as I would than have two profiles with different adblockers. :-(
Dana Sun, 19 Sep 2021 09:04:57 -0400, Dennis Lee Bieber napis'o:
He would have to see what he needs. I guess some files could have some kind of setting with the "original" path in it. These should be also changed. Yeah... alot of work... but pulgins could work as intended. They have their own folder.
Thats correct. And I mentioned just those for a reason.
Could you imagine a situation in which having just one set of data for each of the ones you mentioned could be a good thing ? I can. :-)
And yes, I did let the above pass my mind when I got the suggestion to just symlink most all of the involved files.
Better yet, I could /choose/ which ones I would keep shared and which ones I would want to have seperate. But yes, I would than need to figure out which configuration files/databases would be inter-dependant and only share/seperate them in such inter-depandant groups.
:-) Which why I posted my question : what would I need to do to get it to work.
I expected that (many?) other people would have run into the same problem and have figured something out. Maybe those will still reply in the days to come ...
By the way :
I've started with trying if a full copy duplicate of a profile folder would work, as that would be the simpelest thing to do/check. Currently it looks to be working.
I also considered to just have/use multiple cookie files in the "Default" profile, and just "switch over" by, just before starting the browser, deleting the old "cookie.txt" symlink and than symlinking that name to one of a series of other cookie files. IOW, some pseudo profile switching.
That I did not start with that is because I consider it to be a hack and a full profile copy is even simpler. :-)
On Sun, 19 Sep 2021 20:37:26 +0200, "R.Wieser" declaimed the following:
My suspicion is that most of those wanting separate profiles want COMPLETE isolation, and would install plug-ins as desired per profile -- letting the profile populate its database as the user accesses web sites.
Wulfraed Dennis Lee Bieber AF6VN
Many, including myself, have had the same problem. My approach is, and has always been, to install the browsers I use on each system I need them on. Then I start the web browser(s) in each user on each computer I need to run them from and use their settings and preferences menus to configure them the same as on other computers and add/enable the extensions and plugins I use for other systems and logins. This is fast enough (my memory is good enough, and this is necessary seldom enough) that I've never found it necessary to automate the process.
FWIW, I know nothing about Chrome: I don't and won't use it (the only Google software I knowingly use is Google Earth - which they bought rather than wrote.
My main browser these days is Brave, which has a lot of the add-blockers etc. already built in. Apart from this, I have Firefox and Lynx installed on all systems except RPis, which only have Lynx.
Since the process of installing a new browser is so seldom done I see no need to spend time automating the process, but of course YMMV and I. for one would be fascinated to know why you find browser installation worthy of spending time to automate the process.
:-) That is what my initial question aimed for : a new profile with a *copy* of the adblock plugin. Complete isolation.
Only later on I realized that there where other possibilities to explore, which I than mentioned. As thats the kind of person I am I'm afraid. I like to have multiple possibilities, after which I than choose which one I think I can use best.
By the way : This morning, as a quick check to see if a profile has got absolute paths stored (to its own, profile related files) I renamed the "Default" profile to something else and started the "Profile 1" one - which contains a copy of the "Default" profile/folder
If such fixed paths would be there (supposedly still pointing to the "Default" profile) the browser would either error-out, or would recreate the invoved files (into an also recreated "Default" folder).
Ofcourse this check was not at al exhaustive, but it does seem to be an indication that profile paths are relative to that profile.
In my case its about creating a second browser profile *for the same user*.
Also, my starting point is a Noobs installation, with the browser and adblocker being part of that installation. IOW, I do not have install files for either the browser or the adblocker.
I wish I had that choice. I tried to replace it with FireFox, but for some reason it was not even able to run a 720p YouTube movie on any acceptable speed (/lots/ of stutter). :-\
It has got zero to do with automation.
The only thing I wanted to accomplish is to keep YouTubes "looking at what you viewed previously you might find this interresting" suggestions list clean. I might have viewed a rather limited group of clips for ages, but one or two views of anything else causes the suggestions to go fully outof whack. Not funny.
So, I decided I need two profiles : one to view that rather limited group of clips on, and another to rummage thru what YouTube otherwise has to offer.