To the author of the Layers plugin...
Could you add a function to close a layer by title or url, or add an (optional?) second argument for title / url, to the layers(Close) function?
I'm opening a fixed number of windows for a session macro that loads 5 windows, even if I haven't filled all 5 session 'slots' with URLs yet, so... the macro ends up opening a blank layer for each time I haven't set the user pref it was expecting to read from. It would be nifty if I could call pluginmsg(layers, "Close", ""), or pluginmsg(layers, "Close", "K-Meleon"), to get rid of the excess blank layers at the end of the macro.
If you don't have the time, or it is too much of a pain, don't sweat it, I can mabye figure out a way to check how many are set with a macro and load only the set user prefs or something like that...
Thanks for making a great plugin and helping to make k-Meleon the best browser I've ever used!