|
Script Summary:
Punctuation appearance is improved. For a highly visible paragraph structure & sentence subclause outline on all viewed webpages. No more plain ASCII punctuation. Removes plain punctuation and replaces it with rounded and scaled punctuation. Customizable. |
This script has no discussions. |
This script has no reviews. |
For user options see "User Script Commands" on the Grease Monkey (or on microsoft's iexplorer, the iescript icon).
The script provides options to allow one: to select small, medium (default), large or custom size punctuation; to set HTML tags to be ignored by this script (default tags: "pre", "script", etc.); to set which abbreviations are to be ignored (defaults to Mr. Mrs. Ms. St. etc., Dr. and Prof.).
Also provided are some script management options, allowing the insertion of details in the HTML to indicate what was ignored and to report on the performance of this script, indicating precisely how many milliseconds are being used by this script each time it runs.
This script highlights punctuation primarily to improve the visibility of the text flow: its junctures, gaps, leaps, and shouts, so to speak. With this in mind, the single quote, so often used merely to contract verbal forms, the hyphen, as in "merry-go-round", and the punctuation in abbreviations, such as "etc." and "e.g.," are specifically programmed so as not to be highlighted. Square brackets are also omitted since these are often used for minor technical additions to a text, such as, a reference to a chapter number or a minor grammatical correction.
With some older graphics drivers on linux the image rendering of webpages is poor and the scaling of a sphere, for example, is lumpy. By default it is assumed that new graphics drivers (eg, fglrx) have been installed, if not, then set the scaling factor in this script's options menu to zero so as to turn off scaling or, install the newer graphics drivers.
Very few sites are marked-up so poorly that this script runs badly on them, but you can add the following to your stylesheet to prevent punctuation from being overly large on those which do. If that occurs try setting the following in your userChrome stylesheet:
.puncrep img { float: none ! important;
max-width: 1.1em ! important; max-heigth: 1.6em ! important;
}
Sample optional stylesheet.
-------------------------------------
The size of punctuation is not settable in the style sheet since many websites do strange things with this punctuation in their stylesheets. But sizes are customizable for all the punctuation marks through the "user script commands" option of grease monkey or iescript. Many of the below settings are not settable on internet explorer.
.comma {
vertical-align: -0.1em ! important;
}
.fullstop {
}
.semicolon, .colon {
vertical-align: -0.1em ! important;
}
.semicolon {
vertical-align: -0.2em ! important;
}
.rightBracket, .leftBracket {
vertical-align: -0.2em ! important;
margin-right: 0.2em ! important;
}
.ndash {
margin-left: -0.2em ! important;
margin-right: -0.2em ! important;
}
.leftDoubleQuote, .rightDoubleQuote {
vertical-align: 0.33em ! important;
margin-left: 0.1em ! important;
}
.rightDoubleQuote {
margin-left: 0em ! important;
}
.rightDoubleQuote2 { /* a double quote that appears after a fullstop or question mark.
margin-left: 0em ! important;
}
.questionMark, .exclamMark {
vertical-align: -0.2em ! important;
}





