Does (Linux) Opera offer a similar feature/widget?
Or should it be added to a "wish list"?
Felix Karpfen
--
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)
> Firefox offers an add-on that blocks flash files (# Macromedia Flash
> Does (Linux) Opera offer a similar feature/widget?
Yes. Two that I know of. Either should work. I'm using the
version with the stylesheet.
http://my.opera.com/Lex1/blog/flashblock-for-opera-9
http://operawiki.info/FlashBlock
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Thank you.
"http://operawiki.info/FlashBlock" looks very similar to the Firefox
add-on. But, alas, its documentation is in Russian.
And I have no idea what to do with the downloaded script
(flashblocker.js) that is designed for using with Opera 10. All I have
been able to find out on my own is that it is an "ASCII C++ program
text, with very long lines"!
>> http://my.opera.com/Lex1/blog/flashblock-for-opera-9
>> http://operawiki.info/FlashBlock
> "http://operawiki.info/FlashBlock" looks very similar to the Firefox
> add-on. But, alas, its documentation is in Russian.
>
> And I have no idea what to do with the downloaded script
> (flashblocker.js) that is designed for using with Opera 10.
1. Create a directory for storing User JavaScript files, for instance
~/.opera/userjs.
2. Go to Tools -> Preferences -> Advanced -> Content -> JavaScript
Options. Add the location of your newly created script directory
to "My JavaScript files".
3. cp flashblocker.js ~/.opera/userjs/
Ciao,
Christian
--
Christian Hoeller -- PGP Key available at http://www.hoeller.net/key
Linux Hardware Compatibility & Drivers http://www.linux-drivers.org
Linux Distributions, Howtos, Downloads,... http://www.linuxbasis.org
>>
>> And I have no idea what to do with the downloaded script
>> (flashblocker.js) that is designed for using with Opera 10.
>
> 1. Create a directory for storing User JavaScript files, for instance
> ~/.opera/userjs.
> 2. Go to Tools -> Preferences -> Advanced -> Content -> JavaScript
> Options. Add the location of your newly created script directory
> to "My JavaScript files".
> 3. cp flashblocker.js ~/.opera/userjs/
>
Thank you.
It worked. Flash-clips are now blocked by default, but can be activated
by the left-click of a mouse.
Felix
That's not C++, although you got the ASCII part right. It's a scripted language called
JavaScript. You may have heard of it. :-)
> That's not C++, although you got the ASCII part right. It's a scripted
> language called JavaScript. You may have heard of it. :-)
Yes, this is right. I was wondering too about Felix' statement. But
then I groked ... the confusion was caused by /file/:
#v+
zy3@penguin:~$ file flashblocker.js
flashblocker.js: ASCII C++ program text, with very long lines
zy3@penguin:~$
#v-
;-)
>> All I have been able to find out on my own is that it is an "ASCII C++ program
>> text, with very long lines"!
> That's not C++, although you got the ASCII part right. It's a scripted language called
> JavaScript. You may have heard of it. :-)
Just goes to show - you cannot believe a word that the "file" command
tells you! And I thought that the command was infallible.
Felix
Yes you can. You can believe the important parts: ASCII, text and
"with very long lines".
> And I thought that the command was infallible.
It's common that detection of programming language fails. In extreme
cases, it would need to invoke a compiler to tell the difference
between C and C++ -- and even parsing to the end of the file to look
for non-C constructs would be unacceptable for performance reasons.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
>> Just goes to show - you cannot believe a word that the "file" command
>> tells you!
>
> Yes you can. You can believe the important parts: ASCII, text and
> "with very long lines".
>
Those were the bits that:
- I understood; and
- could easily be discovered by attempting to read the file.
But I did not know what to do with the remaining comment and was not
smart enough to grasp what the script seeks to do. I never run
executable scripts without checking the relevant documentation.
But, all is well that ends well.
That's wise -- file(1) doesn't have a reliable malware detector
either ;-)
But seriously, file(1) is mostly useful to tell if something is plain
text and if not, give a fairly reliable hint about which binary format
it is (PNG image, PDF document ...). If you're saying they shouldn't
even *try* to guess at C/C++/Javascript source code and such ... yes,
I would agree.
Solaris file(1) doesn't try -- it just says "ascii text".
>>> On Tue, 2009-11-24, Felix Karpfen wrote:
>>>> Just goes to show - you cannot believe a word that the "file" command
> But seriously, file(1) is mostly useful to tell if something is plain
> text and if not, give a fairly reliable hint about which binary format
> it is (PNG image, PDF document ...).
Very true.
My initial response was hasty. The "file" command has been a great help
in the past and I have come to accept uncritically the information that
it provides.
Learning the limitations of the command is a bonus.
A thanks to you and to the other respondents to my query for taking the
time to improve my <Linux|Opera> knowledge.
After my success with "flashblocker" I tried the same routine with the
same routine with "adblock'.
And fell flat on my face.
Downloading the add-on and copying the "adblock.js" to the correct
location was just a repeat of the previous successful routines.
But the "directions for use" do not work. The directions say:
use Alt+Shift+B for blocking.
But on my setup (Version 10.10, Build 4742), "Alt+Shift+B" is a
keyboard shortcut for the Bookmarks deopdown menu.
And the next step is ...?
FelixK