Tiny Core Linux
Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: Ulysses_ on November 24, 2010, 01:50:30 PM
-
1. Is it possible to block specific images such as adverts or whatever image the user dislikes to see?
2. Can specific scripts be blocked (not all scripts but specific ones coming from other sites, eg googleAnalytics)?
3. Can flash supercookies/LSO's that normally remain stored forever making it possible to track and identify you and know all flash movies you've ever seen, be automatically deleted at the end of a session?
4. Can Opera download flash videos into .flv files that can then be edited with video editing tools?
-
1. Menu of Page: "Block content..." or edit urlfilter.ini
2. I could imagine that might be possible with user javascript.
3. Add home/tc/.macromedia to /opt/.xfiletool.lst
4. flash videos do get downloaded into browser cache and/or /tmp, but deleted when page is closed.
-
Do you recommend opera.tcz or opera10.tcz?
GetFlash10.tcz says "you must have oss started". Does it not work with alsa?
-
You could use alsa-oss.tcz .
-
The url filter blocks everything, which is rather great IMO. I have facebook blocked, gets rid of all that "like" spam on blogs and sites.
-
1. Menu of Page: "Block content..." or edit urlfilter.ini
I'm having difficulty with this. In the UK version of google here:
http://www.google.co.uk
How do you block just the google picture? This picture disappears when you right click and select "Block content..." so you cannot select it. And reappears afterwards.
-
That logo doesn't seem to behave like a "regular" image as it also does not produce any context menu.
You could try to inspect it with dragonfly: Alt-t > a > d
Edit: However, the logo would disappear simply by disabling images.
The logo on http://www.google.com/webhp?hl=en behaves as any image, context-menu and subject to content blocking.
-
Then it's something we'll have to live with for now.
You might be interested in the following, many security-conscious firefox users have it installed, especially TOR users, it comes with hacker-favourite live CD backtrack:
2. Can specific scripts be blocked (not all scripts but specific ones coming from other sites, eg googleAnalytics)?
2. I could imagine that might be possible with user javascript.
NoScript for firefox is it. And now there is an Opera equivalent, BlockIt:
http://www.ghacks.net/2010/02/02/opera-noscript-alternative-blockit/
-
Replying to you from Opera 11.01, but I think the following Opera features have remained constant for a while and will probably apply to your version:
If you use F12, the quick preferences menu will appear, to let you turn off a lot of features, plus a link to edit preferences for specific sites.
Using the main menu>tools>preferences will give you wider selections of similar choices. (Caution: the shortcut for this in Opera is normally Control+F12, but AVOID this shortcut in tc, or you will end up at Desktop 12 wondering what happened to your browser!!!)
I would also recommend going into Opera>Tools>Appearance>Toolbars and select the Status Bar and View Bar, you'll then have a quick way to move in and out of displaying images or not, and to switch from "Author Mode", which includes style sheets, etc., to User Mode which is basically a text browser that you can choose to enhance in many ways through the Opera>View>Styles menu.
And once you know Opera well and want to get even more ambitious, you can try typing opera:config in the address bar to see the thousands of configuration options available. She's very, very configurable....
If I sound very chauvinistic about this, it's because I'm on a dialup 56K connection, and the ability that Opera provides to turn off unneeded features has been a lifesaver. With User Mode, and script and images turned off, and with Tinycore's own incredible speed, and adding Opera Turbo in the 11.01 model, browsing on 56K seems virtually as fast as broadband, so you can understand why I'm devoted!!
The further advantage, of never having seen a graphical ad or had an unwanted pop-up in the past three years of intensive browsing, leads me to feel that Tinycore and Opera are a wonderful combination.
There are a few downsides, in the form of some sites, such as eBay that have some features (but not many) that aren't Opera compatible, but on the whole I've found that the extra time required to learn such a highly configurable browser has been repaid to me many times over. And now having Tinycore to underly it is just wonderful....
A security note: If you want to update to the current version of Opera the day it appears (and updating can be absolutely critical with browsers to avoid spoofing and fake certificates), you can do so in Tinycore by downloading the current bzip2 Linux version directly from Opera and installing it in your home directory.
However you may want to consider that running it from /home/tc/ as I do, instead of as a .tcz would not be advisable unless you can make your backup read-only or remove it to protect it from accidentally backing up after risking contamination online, as otherwise you would be losing the "pristine state" which is so significant a benefit in tinycore extensions. I find this is a compromise well worth making for my browser, but for any other use I would definitely stay with .tcz's. However, you may well find it preferable to make a .tcz extension of it....
Opera, in it's most recent version it's a virtually self-contained package, needing only libxft and of course bzip2 for unpacking. I do a clean boot, go directly to the download site, download it , get offline immediately, then in terminal as root, "bzip2 -d -c /home/tc/operaversionname.linux.tar.bz2 | tar -C /home/tc -x" [allow some time here for the unpacking], and when the prompt returns, "su tc" to get out of root, cd into the directory Opera has created in /home/tc/ and run "./install", and follow the prompts.
Once you run Opera for the first time and configure it the way you want (NB: I always do this offline, so I can do a clean backup without online contaminations), close Opera before making your backup. This way you avoid beginning with the "resume after a crash" dialog box when you restore from backup at boot.
Apologies for getting so carried away on this subject. Hope some of it will prove useful to you.
Regards, Harnessmaker
-
Some observations:
That unpack command seems rather complex to me, I would simply
tar xf operaversionname.linux.tar.bz2
and no need to use sudo.
Coincidentally yesterday I did install by a misclick in rox-filer, that then took me quite a while to clean up before being able to do next backup.
I could not see any advantage of using the install script in comparison to just starting opera out of the extracted dir with ./opera.
In case of extracting to permanent storage that would also mean that the same instance could be run from other Linux systems.
-
You don't need alsa-oss.tcz, it runs with alsa.
-
You don't need alsa-oss.tcz, it runs with alsa.
Can't hear anything with vmware hardware though. Anyone got alsa to work in a vmware VM?
-
You don't need alsa-oss.tcz, it runs with alsa.
Can't hear anything with vmware hardware though. Anyone got alsa to work in a vmware VM?
I'd suggest you open a different thread for this subject as it seems rather to be an issue related to vmware than opera.
IMHO, attempting to run a full bells and whistle browsers with all its features under vmware sounds like a really bad idea to me regarding as well speed as resources usage.
-
Browsing in a virtual machine is prefered because of its extreme security*. So getting opera to fully function in a TC VM is very much desirable. Especially given TC is very economical in memory so you can run several instances of TC in isolation from each other.
* any infection cannot access private data in the host, cannot infect the host, and cannot exist after a vm reboot if nonpersistence is selected or if the vm is disposed of.
-
Some observations:
That unpack command seems rather complex to me, I would simply
tar xf operaversionname.linux.tar.bz2
and no need to use sudo.
Yes, thanks. Your command has unpacked the bzip2 Opera beautifully in /home/tc.
The more elaborate command developed (courtesy of emelfm2) because, in order to save ram, I would normally be downloading the tar.bzip2 file to a usb, which is then mechanically write-protected. The file is then unpacked by script into /home/tc/ by script at time of use.
In this scenario, my efforts to have the the tar -x -f work have so far been blocked by the write-protect.
I'm very new to scripting, so suggestions will be welcome.
Regards, Harnessmaker
-
Browsing in a virtual machine is prefered because of its extreme security*. So getting opera to fully function in a TC VM is very much desirable, as TC is very economical in memory so you can run several instances of TC in isolation from each other.
* any infection cannot access private data in the host, cannot infect the host, and cannot exist after a reboot if nonpersistence is selected).
How would that compare from a security aspect to a chroot?
My estimation would be that vmware would be way more resource hungry, slower and also much more complicated to configure.
-
3. Can flash supercookies/LSO's that normally remain stored forever making it possible to track and identify you and know all flash movies you've ever seen, be automatically deleted at the end of a session?
Two methods which I know work generally, although you'd have to test them to be certain in this case:
1) To lose them at shutdown: Opera versions and install methods vary as to where they place the cache files. You can discover their location with Opera>MenuBar>Help>AboutOpera, in order to make sure that files you don't want backed up are correctly listed in your /opt/.xfiletool.lst.
2) If you want to lose them during a session: Opera>MenuBar>Tools>DeletePrivateData is a tool for removing cookies, cache, etc. during a session, and it also makes possible the deletion of vulnerable email passwords before opening dodgy mail. You can configure what is to be deleted.
(Bug note: Opera versions before the most recent have to be closed and reopened for passwords to be effectively removed by this method. Bug is fixed in 11.01.)
-
Opera, in it's most recent version it's a virtually self-contained package, needing only libxft and of course bzip2 for unpacking.
It seems I'm mistaken here: Only the libxft.tcz will be needed, as the capacity to unzip bzip2 files is already in TinyCore's base.
-
Some observations:
That unpack command seems rather complex to me, I would simply
tar xf operaversionname.linux.tar.bz2
and no need to use sudo.
Yes, thanks. Your command has unpacked the bzip2 Opera beautifully in /home/tc.
The more elaborate command developed (courtesy of emelfm2) because, in order to save ram, I would normally be downloading the tar.bzip2 file to a usb, which is then mechanically write-protected. The file is then unpacked by script into /home/tc/ by script at time of use.
In this scenario, my efforts to have the the tar -x -f work have so far been blocked by the write-protect.
I'm very new to scripting, so suggestions will be welcome.
Regards, Harnessmaker
tar xf operaversionname.linux.tar.bz2 -C ~/
-
You don't need alsa-oss.tcz, it runs with alsa.
Can't hear anything with vmware hardware though. Anyone got alsa to work in a vmware VM?
OSS works fine in VMware Player, and alsa worked after I ran alsaconf.
-
Could you post your .vmx please, that makes OSS work fine?
-
3. Can flash supercookies/LSO's that normally remain stored forever making it possible to track and identify you and know all flash movies you've ever seen, be automatically deleted at the end of a session?
Two methods which I know work generally, although you'd have to test them to be certain in this case:
1) To lose them at shutdown: Opera versions and install methods vary as to where they place the cache files. You can discover their location with Opera>MenuBar>Help>AboutOpera, in order to make sure that files you don't want backed up are correctly listed in your /opt/.xfiletool.lst.
2) If you want to lose them during a session: Opera>MenuBar>Tools>DeletePrivateData is a tool for removing cookies, cache, etc. during a session, and it also makes possible the deletion of vulnerable email passwords before opening dodgy mail. You can configure what is to be deleted.
(Bug note: Opera versions before the most recent have to be closed and reopened for passwords to be effectively removed by this method. Bug is fixed in 11.01.)
Correction to the above: It seems I was being very naive about the nature of supercookies! Have just spent some time googling "supercookie" I now doubt that the above will deal with them at all. I did find, however, several references about going to the Adobe website to get them removed/controlled...plus some other stuff that looked useful about locating them, plus now am understanding Tinypoodle's original answer much better. Apologies for the "red herring"!
Regards, Harnessmaker
-
Could you post your .vmx please, that makes OSS work fine?
I didn't do anything special. I just accepted all the defaults when creating my virtual machine. I suspect you may have more than one sound device and VMware Player is selecting the wrong one.
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
sound.pciSlotNumber = "34"
-
Still doesn't work (it sounds terrible) and the windows host only lists one sound device, a RealTek AC'97. Tried the following too, but still the sound is terrible:
pciSound.priorityBoost = "TRUE"
sound.highPriority = "TRUE"
Then added the following from a vmware enthusiast's post, to no avail.
sound.maxLength = "2048"
sound.smallBlockSize = "1024"
sound.buffering = "10000000000.0"
sound.ignoreOverflows = "TRUE"
sound.copyDelayFactor = "1000000.0"
sound.virtualrealcorrection= "10000000000.0"
sound.directSound = "FALSE"
It remains to be seen how switching to a linux host would affect TC sound. It seem a TC problem, all other linux'es I have VM's for sound perfect when playing youtube flash.
-
Still doesn't work (it sounds terrible) and the windows host only lists one sound device, a RealTek AC'97.
try redirecting the audio output to a wave file and see if it still sounds badly. That will remove your windows audio card as a variable. If you have a USB audio device, you could try connecting to it within the VM.