xulrunner & userContent.css -> flashblock

View: New views
6 Messages — Rating Filter:   Alert me  

xulrunner & userContent.css -> flashblock

by Janek Kozicki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

anybody knows how to modify xulrunner source so that it will once
again look into  ~/.galeon/mozilla/galeon/chrome/userContent.css
which will brink flashblock back to us?

--
Janek Kozicki                                                         |

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Galeon-user mailing list
Galeon-user@...
https://lists.sourceforge.net/lists/listinfo/galeon-user

Re: xulrunner & userContent.css -> flashblock

by Adrianna Pinska :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Feb 9, 2009 at 4:23 PM, Janek Kozicki <janek_listy@...> wrote:
> Hi,
>
> anybody knows how to modify xulrunner source so that it will once
> again look into  ~/.galeon/mozilla/galeon/chrome/userContent.css
> which will brink flashblock back to us?

All I have found are vague, cryptic references without any explanation
of what the problem actually is.  As far as I know, this issue affects
multiple browsers.  When last I looked at the mozilla bugtracker I
couldn't find any mention of it.

I have downgraded my Galeon (in Ubuntu Intrepid) to 2.0.4 to make it
usable again (I heavily rely on my userContent.css for ad-blocking and
flashblock).

If there are any Galeon developers reading this: do you have any more
information?  Is this problem being worked on?  Do you need volunteers
for writing code / testing?  Are there any workarounds?

Regards,
Adrianna
--
~ Registered Linux User #334504 ~
"If ignorance is bliss, then knock the smile off my face."

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Galeon-user mailing list
Galeon-user@...
https://lists.sourceforge.net/lists/listinfo/galeon-user

Re: xulrunner & userContent.css -> flashblock

by Janek Kozicki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Janek Kozicki said:     (by the date of Mon, 9 Feb 2009 15:23:21 +0100)

> anybody knows how to modify xulrunner source so that it will once
> again look into  ~/.galeon/mozilla/galeon/chrome/userContent.css
> which will brink flashblock back to us?

whew, finally I figured it out.

1. assuming that flashblock is installed "for galeon" in a way in which
   it doesn't work. Because xulrunner-1.9 ignores userContent.css

2. cp /usr/share/galeon/chrome/flashblock.manifest /usr/lib/xulrunner-1.9/chrome

3. add line

   @import url(chrome://flashblock/content/flashblock.css);

to file /usr/lib/xulrunner-1.9/res/ua.css

--
Janek Kozicki                                                         |

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Galeon-user mailing list
Galeon-user@...
https://lists.sourceforge.net/lists/listinfo/galeon-user

Re: xulrunner & userContent.css -> flashblock

by Adrianna Pinska :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A fresh round of googling has yielded this Fedora bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=446856

Someone submitted a xulrunner patch.  No activity on the bug since December. :(

The patch has some hardcoded stuff that shouldn't be there, but
basically it looks like if you edit
/usr/lib/xulrunner-1.9.WHATEVER/res/ua.css (or lib64) and add:

  @import url(file:///home/YOURUSERNAME/.galeon/mozilla/galeon/chrome/userContent.css);

it will restore usage of the userContent.css file.  I will try it and
see if it works (AFAIK, Epiphany has the same issues, so I should be
able to use it for testing without messing with my downgraded Galeon).

(Of course, linking to your personal settings from system-wide
settings is very hacky.  It would be cleaner to move the
userContent.css to the global xulrunner settings directory as well.)

I will report my findings.

Adrianna
--
~ Registered Linux User #334504 ~
"If ignorance is bliss, then knock the smile off my face."

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Galeon-user mailing list
Galeon-user@...
https://lists.sourceforge.net/lists/listinfo/galeon-user

Re: xulrunner & userContent.css -> flashblock

by Janek Kozicki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Adrianna Pinska said:     (by the date of Mon, 9 Feb 2009 17:14:35 +0200)

>   @import url(file:///home/YOURUSERNAME/.galeon/mozilla/galeon/chrome/userContent.css);

yeah, I've found exactly the same thing and it didn't work. Dunno why.

After some fiddling I've found that my method worked. And at least it
doesn't include my username in there :) But is still a bit hacky,
because it forces all xulrunner dependant apps to use flashblock.
Fortunately it didn't break firefox. I restarted firefox and it only
informed me that it there is a new version of flashblock available
and made an update. Successive restarting of both firefox and galeon
didn't bring anything new and it seems to work.

PS: na tej liście nikt mi nie odpowiadał od kilku miesięcy, co za
szok że w końcu ktoś mi odpisuje - i do tego Polka (z Afryki) :)

--
Janek Kozicki

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Galeon-user mailing list
Galeon-user@...
https://lists.sourceforge.net/lists/listinfo/galeon-user

Re: xulrunner & userContent.css -> flashblock

by Adrianna Pinska :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/2/9 Janek Kozicki <janek_listy@...>:
> Adrianna Pinska said:     (by the date of Mon, 9 Feb 2009 17:14:35 +0200)
>
>>   @import url(file:///home/YOURUSERNAME/.galeon/mozilla/galeon/chrome/userContent.css);
>
> yeah, I've found exactly the same thing and it didn't work. Dunno why.

I just tried it, and it looks like my userContent.css is being found
by Epiphany -- but none of the flashblock stuff (which I have inside
my userContent.css) works.  This merits further investigation -- but
in the meantime I'm happy to have my old Galeon version.

> PS: na tej liście nikt mi nie odpowiadał od kilku miesięcy, co za
> szok że w końcu ktoś mi odpisuje - i do tego Polka (z Afryki) :)

He he.  :)

Trochę ten browser zdycha.  A szkoda -- bo lepszego jeszcze nie znalazłam. :/

--
~ Registered Linux User #334504 ~
"If ignorance is bliss, then knock the smile off my face."

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Galeon-user mailing list
Galeon-user@...
https://lists.sourceforge.net/lists/listinfo/galeon-user