Hi!
I'd like to address this to Ben Goodger especially, because he wrote the code -- or anyone who knows the answer.
I saw this question at The Extensions Mirror
http://www.extensionsmirror.nl/index.php?showtopic=3470
and I would like to know how this might be
accomplished also.
"Is there a way of setting a top limit for the number
of items that can be displayed in a live bookmark?"
TIA to whoever can show the way.
Style Live Bookmarks To Limit Items ?
-
- Posts: 4941
- Joined: July 31st, 2003, 1:26 pm
To limit the number of Live Bookmarks to four, add this to userChrome.css:
and to six:
You get the idea. Messy, but it works until we get <code>:nth-child()</code> support.
// edit: fixed omitted comma
Code: Select all
[livemark="true"] menuitem { display: none !important; }
[livemark="true"] menuitem:first-child,
[livemark="true"] menuitem:first-child + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem + menuitem
{ display: -moz-box !important; }
and to six:
Code: Select all
[livemark="true"] menuitem { display: none !important; }
[livemark="true"] menuitem:first-child,
[livemark="true"] menuitem:first-child + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem + menuitem + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem + menuitem + menuitem + menuitem
{ display: -moz-box !important; }
You get the idea. Messy, but it works until we get <code>:nth-child()</code> support.
// edit: fixed omitted comma
Last edited by Unarmed on September 7th, 2005, 7:58 am, edited 1 time in total.
-
- Posts: 15
- Joined: April 21st, 2005, 9:14 am
-
- Posts: 15
- Joined: April 21st, 2005, 9:14 am
-
- Guest
Re: Style Live Bookmarks To Limit Items ?
hmm doing this removes the "Open (feed URL)" item at the very end. Is there any way of limiting rss entries while retaining the "Open (feed URL)" menu entry
-
- Guest
Re: Style Live Bookmarks To Limit Items ?
Replace what you havw with the following:
Code: Select all
[livemark="true"] menuitem:not([label^="Open \""]) { display: none !important; }
[livemark="true"] menuitem:first-child,
[livemark="true"] menuitem:first-child + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem + menuitem + menuitem,
[livemark="true"] menuitem:first-child + menuitem + menuitem + menuitem + menuitem + menuitem
{ display: -moz-box !important; }
- LIMPET235
- Moderator
- Posts: 39961
- Joined: October 19th, 2007, 1:53 am
- Location: The South Coast of N.S.W. Oz.
Re: Style Live Bookmarks To Limit Items ?
Why reply/post to a thread from Sep. 2005?
If you have a problem, please start a new thread.
Locking this relic.
If you have a problem, please start a new thread.
Locking this relic.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.
(Always choose the "Custom" Install.)
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.
(Always choose the "Custom" Install.)