On Thu, 16 Sep 2010 12:56:20 -0500 Claude Rubinson wrote:

> There are certain websites for which I like to customize how FVWM
> treats the browser window (e.g., different styles for different
> sites).  As long as the name of the website is part of the window
> name, it's not a problem.
> 
> Occasionally, however, I'll run into a site where there's no stable
> name.  For example, the online music streaming site MOG.com only
> includes the name of the artist and song in the window name.  Many X
> clients let you specify your own name, but neither Firefox nor Chrome
> does.  Is there a way to uniquely identify such browser windows
> (whether from within FVWM or not) when the site doesn't provide a
> fixed reference?  For FvwmEvent, I can use the WindowId but as far as
> I understand, that doesn't work for Style specifications.

First, you can really do what amounts to matching on WindowId - assign
styles to particular windows with the WindowStyle command.  The
problem is finding some event and condition to trigger this command
for the windows you want to be styled.

Second, you can try to workaround this from the Firefox side - install
an extension like Customize Titlebar:

  https://addons.mozilla.org/ru/firefox/addon/14576/

(or look for other similar extensions there).

Then you can configure it to, e.g., add the page URL at the end of
title, which then could be matched by Fvwm styles or whatever.

Reply via email to