userscripts.org alternate CSS

By GIJoe Last update May 18, 2012 — Installed 4,765 times.

SUGGESTIONS

in
Subscribe to SUGGESTIONS 128 posts, 7 voices



Marti Scriptwright
FirefoxX11

GIJoe wrote:
Jetpack pages list need to be redone
Seems a bit incomplete for sure.

Wordwrap on this jetpack source isn't working... Convert tabs to spaces is though. :)

 
GIJoe Script's Author
SeamonkeyMacintosh

Oups... missed this one.

 
Marti Scriptwright
FirefoxX11

Thank you! :)

Can you maximize the width on the scripts management page a little bit when you get the chance? TIA :)


OMG! This grant is better than I expected... Many thanks to you! :)

 
Marti Scriptwright
FirefoxX11

Can you work that same magic on everyones user page with all the applicable links in the Table of Contents too please.

Example:
http://userscripts.org/users/65048
http://userscripts.org/users/65048/groups
http://userscripts.org/users/65048/scripts
http://userscripts.org/users/65048/jetpacks
http://userscripts.org/users/65048/guides
http://userscripts.org/users/65048/posts
http://userscripts.org/users/65048/comments
http://userscripts.org/users/65048/reviews
http://userscripts.org/users/65048/favorites

 
GIJoe Script's Author
SeamonkeyMacintosh

Ok, but for groups page, it will not maximize because of the truncated strings in the table.
(width is on auto)

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
but for groups page,
It's quite an improvement already. :)

Next suggestion hopefully...

<textarea id="group_description" name="group[description]" type="text"... under any group edit (e.g. usoCheckup edit group) is super narrow... I added manually through firebug a width: 100%; and it pushes it out so it's not 1/8th of the width of my screen on the left.

Same with <textarea id="review_body" on editing a review and it's subject line of <input type="text" value="Just what the Admiral Ordered" name="review[title]" id="review_title"...

Looks like this CSS is what is controlling quite a bit:

textarea, input[type="text"] {
  border-bottom-color: #AAAAAA;
  border-right-color: #AAAAAA;
  width: 100%; /* This addition to line 379 of your script seems to fix the width */
}

Could you maximize width on these too please? Merci! :)

 
Marti Scriptwright
FirefoxX11

Thanks for that last request fulfillment... on to yet another...

With the recent Pain and rate limiting I've discovered that a false-positive attack vector is triggered very easily by referencing stock images in the userscripts.org base software. (e.g. this icon

and anything else that is sitting directly on USO like the firefox icons and such in About pages, etc.)

Could you convert them into data:{Content-Type};base64,{encoded-string} for this script please so it doesn't interrupt other scripts by slowing other requests down?

Occasionally I don't see the graphical arrows on a page load and now I know why.

data:image/gif;base64,R0lGODlhEAAQAIABAP///8zMzCH5BAEAAAEALAAAAAAQABAAAAIfjI+pywidgIRHPhosvDorDU6RRV5faS4l1rHYC8dBAQA7
and
data:image/gif;base64,R0lGODlhEAAQAIABAP///8zMzCH5BAEAAAEALAAAAAAQABAAAAIejI+pywidgIRGWmgzy1zdP0VV+DQXFZyUuqLuCwcFADs=
respectively in case you don't have access to an encoder. Thanks.

 
GIJoe Script's Author
SeamonkeyMacintosh

1.033:
Correcting the ndash in title

 
Marti Scriptwright
FirefoxX11

Just a note things seem to have changed quite a bit today. :\


And now it appears to be reverted

 
Marti Scriptwright
FirefoxX11

New Request: Guide 58 in the Guides section of USO has non-breaking spaces for the name of the guide... can you do something about this... maybe put in Guide 58 when only spaces are present... so it can be linkable for others to thumb?

 
Marti Scriptwright
FirefoxX11

Hmmm well this last update REALLLLLLLLY slowed down USO as well as it's exposing bookmarks... e.g. conflicting with existing bookmarks that USO has put in and also any that the User puts in via one of my scripts for USO. I'm reverting back to this version, this install. The scope of this change is way too broad. :\

 
GIJoe Script's Author
SeamonkeyMacintosh

Ok... i disable it.

 
Marti Scriptwright
FirefoxX11

Thanks... Although it's a neat idea to show ALL hidden links... there are actually a lot of them on USO... so navigating around it would loop through at least 20 to 50 links on average and also it would show () in a lot of places where it shouldn't. Guess I'll just field questions when they come through about that guide... maybe Jake will remove it.

 
Marti Scriptwright
FirefoxX11

New Request:

Seems that your script is killing this page from showing up properly... any chance on confirmation? Thanks. :)


Much better! Merci beaucoup! :) If you get bored or have time any chance on fixing it's layout too... not that critical for me for clean display but who knows... do get a widget question every once in a while. I dumped the textareas width and height and it seemed to be happier here and put in a margin of about 30px just to push the script icon list into the container... but not sure how that affects other sites visibility of the same widget.

 
Marti Scriptwright
FirefoxX11

New Request:

Would you set all text and textarea inputs to have some sort of min-width, min-height, max-width and/or max-height along with initial height and width properties if needed please.

For example on the Edit source page your script sets the initial height way to high (although I do understand why). There is an alternative to setting a fixed height that is bigger then USO's by using one of the many textarea resize scripts for below Firefox 4.x. If you don't already know Firefox 4.x actually includes a textarea resizer although doesn't have one for text inputs yet. The one I am using for below Firefox 4 is EZ Resize as it is closest to emulating the upcoming behavior. The script is missing the dots in the lower right hand corner that Moz is inserting so be aware of that for width considerations as well as potential padding issues.

Thanks again for such an awesome script! :)

 
GIJoe Script's Author
SeamonkeyMacintosh

Not installed the last Firefox 4 beta yet. Waiting for the portable one.

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
Waiting for the portable one.
--profilemanager switch when starting it up and then make a new profile for beta? It's a definite improvement and I'm eager to see it in release form. :)

 
GIJoe Script's Author
SeamonkeyMacintosh

Where's the Firefox 4 GreaseMonkey addon ?

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
Where's the Firefox 4 GreaseMonkey addon ?
Sizzles got an aging xpi download on his repo downloads; I can build you one; or you can build one from GM upstream on the 0.8 branch or even the 0.9 master branch if you are feeling lucky.

 
GIJoe Script's Author
SeamonkeyMacintosh

I changed so it works, but the "EZ Resize" can be better...

by changing in the "EZ Resize" source:

this.style.width = ...;
by
this.style.setProperty('width',...,'!important');
(same with height)

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
"EZ Resize" can be better...
hehe there is always room for improvement especially in these types of user.js... They all have at least one "feature" that can break things. I'm really glad that Moz is picking up on this and incorporating it into their toolkit. :)

As far as your update goes... this is going to take some time to see if there are any hits or misses when used with other user.js... so far so good although things seem a little "locked" on height which shouldn't happen... min-height is designed to make sure that it's not too small and max-height is usually free-flowing so a user can pick the size they want. And "initial" height is your preference. Width of course is dependent on the screen width with percentage and bounding container. :) Thanks.


Next request... at your convenience would you investigate using http://userscripts.org/scripts/version/34698/255111.user.js#view_source instead of http://userscripts.org/scripts/version/34698/255111.user.js?view_source so I can use my middle button to open view source on diff pages? :)

 
GIJoe Script's Author
SeamonkeyMacintosh

The problem is not with min-height/max-height, but because i used the "!important" tag and the script doesn't.

I don't understand what's the problem with the middle click...

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
I don't understand what's the problem with the middle click...
If I middle mouse click "view source" on the diff page... it won't open in a new tab... with # instead it seems to work. My workaround when it's "?" is to right click the link and open in new tab... but I use my middle click a lot.

GIJoe wrote:
The problem is not with min-height/max-height, but because i used the "!important" tag and the script doesn't.
This is what I usually end up editing locally from:
.admin_section #script_src { height: 1000px; width: 98%; }
to roughly
.admin_section #script_src { height: 400px; width: 97%; max-width: 97%; min-width: 97%; }
This alteration prevents a lot of screen flicker when the redraw state of the browser is resizing textareas and still shows everything at 1680x1024. (different values to make it more compliant in 1024x768 though) Sometimes I tack on min-height and max-height too but usually leave that alone unless it's important.

How tall is your screen btw? ;) Even my big old monitor and graphics resolution doesn't go up to 1000 pixels on height plus the rest of the page height. ;)

 
GIJoe Script's Author
SeamonkeyMacintosh

Strange..., the middle click work correctly for me...

I use a 1280x1024 screen... and i don't have any problem at resizing textareas.

 
Marti Scriptwright
FirefoxX11

hmmm maybe it's another one of my add-ons that's doing it... doesn't seem to do it in Minefield since there's only GM in here.

A little less flickery here too... anyhow if you don't want to lock the textarea widths and min heights that's fine too... I can always just build a separate one for that to augment your script and run it after yours locally. Thanks for taking off the !importants :)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel