Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Free Republic Posting Form Enhancer
A FReeRepublic Smart Dude ^ | Unknown | Cynwoody

Posted on 03/29/2022 2:54:48 AM PDT by texas booster

Free Republic Posting Form Enhancer

Free Republic Posting Form Enhancer (FRPFE) is a browser extension that modifies the forum's posting form to help with the entry of common HTML tags and to make better use of available screen real estate. It allows you more room to enter a post, and it displays the post preview at full window width, giving you a more accurate rendition of how your post will look when added to the thread. Free Republic is a political discussion site.

Click here to install FRPFE on Firefox. To install FRPFE on Chrome, see Installing Userscripts in Chrome.

FRPFE makes the following changes to the posting page, immediately after it is loaded:

Note: You can change the height of the reply box. Edit the extension and change the value of the INPUT_FRACTION constant from its current value of 0.5. INPUT_FRACTION is the portion of the browser window height that the reply box occupies.

Note: As of 2017-12-14, FRPFE is an extension, not a user script (Greasemonkey). See here for how to modify Firefox extensions.

The HTML Toolbar

The HTML toolbar is a row of buttons which facilitate the entry of HTML tags in the reply box. It is located above the reply box.

When you click a toolbar button, FRPFE inserts the corresponding HTML into the reply box at the current location. All of the buttons also have keyboard shortcuts. Keying a button's shortcut while typing in the reply box has the same effect as clicking the button. If you can't remember a button's shortcut key, you can discover it by hovering the mouse pointer over the button until the tooltip message appears.

What happens when you press a toolbar buttons depends on whether you have selected (highlighted) text within the reply box. If you have not selected any text in the reply box, FRPFE adds the HTML at the current cursor position and leaves the cursor positioned between opening and closing HTML tags, ready for you to key or paste the content. If you have selected some text in the reply box, FRPFE encloses the selected text between the opening and closing HTML tags.

For example, if there is text in the reply box that you would like to make boldface, you would select the text and then either click the B button or type Ctrl-B. FRPFE adds <b> before your selection and </b> after it and expands the selection to include the tags. At this point, if you also want italic, you could click the I button or type Ctrl-I to include <i> before and </i> after, thus making your original selection bold italic.

On the other hand, if there is no selection in the reply box, and you want to add a link, you might choose to click the Link button and respond to the prompt by pasting in a URL. FRPFE would add the link markup and leave the cursor positioned for you to type the clickable link text.

HTML on Free Republic

Free Republic only allows a subset of HTML to be posted. See Free Republic Supported HTML Tags and Attributes for the list of what is and isn't supported. The biggest parts missing are styles and JavaScript. The Free Republic server must prevent HTML in any given comment from screwing up the whole discussion thread. That means it needs to close unclosed tags, etc. The more complex the HTML allowed, the harder that task becomes. In early versions of the site, if a poster used the <b> tag and forgot to close it, the rest of the thread would be in boldface until someone posted a </b> tag.

W3 Schools is a handy online HTML reference. Click here for their HTML tag reference. Many of the pages have links to try-it-yourself demo pages, which allow you to mess with the HTML and then see it rendered.

Button Actions

Button
& Shortcut

Action

Ctrl-q
Facilitates quoting all or part of the post to which you are replying, in the preferred Free Republic style. It italicizes the quoted text and adds a paragraph break, after which you may compose your reply. It encloses the quoted text in a <i></i> tag pair followed by a <p> tag. To use the Quote button, either click it with the window empty and paste in the quoted text or paste the quoted text into the empty window, select it, and hit the Quote button.

Tip: If the text you are quoting contains HTML (such as paragraph breaks, links, or colored text), you can copy the HTML along with the text. Select the text you want to copy. Then right-click, select View Selection Source, copy the selected HTML to the clipboard, and paste it between the <i> tags.


Ctrl-Shift-Q
Indents the enclosed text on both the left and the right. Used to set off extended quotations from third-party sources, such as news articles or blog entries.

Can also be used simply to indent text. Nesting within multiple pairs of <blockquote> tags indents more deeply.


Ctrl-b
Bolds the enclosed text.

Ctrl-i
Italicizes the enclosed text.

Ctrl-u
Underlines the enclosed text.

Ctrl-s
Strikes out the enclosed text.

Ctrl-Alt-q
Surrounds the enclosed text with curved double quotes, in which the opening quote is a different glyph than the closing quote. This vs "this". A <q>-quoted selection nested within an outer <q>-quoted selection is set off by curved single quotes. For curved single quotes by themselves, use the HTML entities &#8216; and &#8217;.

Ctrl-Shift-S
Makes the enclosed text smaller. Nesting within multiple pairs of <small> tags makes the text progressively smaller.

Ctrl-Shift-B
Makes the enclosed text bigger. Nesting within multiple pairs of <big> tags makes the text progressively bigger.

Ctrl-Shift-<
Adds the HTML entity code "&lt;" at the cursor. &lt; renders as < (a less than sign). Using this entity code makes it possible to discuss HTML examples online properly. It also makes it possible to add proper <sarcasm></sarcasm> pseudo-tag pairs, a rare skill on FR.

There is a corresponding &gt; entity for the greater than sign >. But, unlike &lt;, you can generally get away with just keying the > sign directly. Click here for the full list of entity codes.


Ctrl-Shift-F
Encloses the selection in <font> tags. In order for this to be useful, you will need to add color, size, or face attributes to the opening tag.

Ctrl-Shift-P
Renders the enclosed text in a fixed-pitch font with spaces and line breaks preserved. Useful for presenting computer source code and to make the columns line up when displaying simple tabular data (when you are too lazy to put it in a real HTML table). See the <pre> tag.

Ctrl-Shift-U
Turns the enclosed text into an unordered list, in which the entries are bulleted.

To use the UL button, key in your list first, beginning each entry with an asterisk as the first non-whitespace character on the line. Then select your text and click the button. FRPFE will turn each asterisk into an <li> tag automatically.


Ctrl-Shift-O
Turns the enclosed text into an ordered list, in which the list entries are numbered consecutively.

To use the OL button, key in your list first, beginning each entry with an asterisk as the first non-whitespace character on the line. Then select your text and click the button. FRPFE will turn each asterisk into an <li> tag automatically.


Ctrl-h
Inserts an <hr> (horizontal rule) tag on a line by itself.

By default, the rule tag inserted has "width=97%" set, which causes some space to be left at the left and right ends. This avoids visual confusion with the rules that Free Republic uses to separate posts.


Ctrl-Shift-T
Encloses the selection in a single-cell HTML table, including a <tbody> tag pair and initial <tr> and <td> tag pairs. You can later use the TR, TH, and TD buttons to add additional rows and cells to the table. The <tbody> tag contains an align=center attribute, which will cause all the table cell content to be centered (useful for image captions). Remove the attribute if you don't want the effect.

In addition to their normal use, tables can be useful when you want to center a caption under or over an image and when you want to present multiple images horizontally with captions.


Ctrl-Shift-R
Adds a pair of <tr> table row tags at the cursor.

Ctrl-Shift-H
Adds a pair of <th> table header tags at the cursor. The <th> tag defines a table cell with the text boldfaced and centered by default.

Ctrl-Shift-C
Adds a pair of <td> table cell tags at the cursor.

Ctrl-Shift-I
Inserts an image. Adds an HTML image tag at the cursor. It will prompt for the image URL. It's usually best to right-click the image and select Copy Image Location. Then paste the URL into the prompt box (Ctrl-V).

If you encounter problems obtaining an image URL, you may find it useful to select Tools | Page Info on the page where the image is found. Then find the image among those shown on the Page Info page's Media tab.

The inserted <img> tag contains a "border=0" attribute. Its effect is to prevent an ugly border from appearing around the image if it is link-enabled (the mouse pointer still changes to indicate clickability when over the image, however). It's a good idea to include the caption within the link-enabled text to alert the viewer that there is a link associated with the image.

Tip: If you created the image yourself, you must first host it on the web before you can get a URL to put into an <img> tag. If you already have a website, you can simply upload your image to it. If not, there are plenty of free image hosting sites on the web, such as Photobucket. Google for "free image hosting hotlinking allowed" for more.


Ctrl-Shift-L
Link-enables the enclosed text and / or image(es). After prompting for the destination URL, it adds a pair of anchor tags, with the href parameter filled in with the URL. It's best to have the URL already on the clipboard and just paste it into the prompt (Ctrl-V). If you instead key it by hand, remember to preserve the "http://" at the front.

Ctrl-Shift-Enter
Forces a line break at the cursor location. Adds a <br> tag on a line by itself.

Ctrl-Enter
Inserts a paragraph break at the cursor location. Adds a <p> tag on a line by itself.

Other Keyboard Shortcuts

FRPFE makes available several keyboard shortcuts to activate the buttons at the bottom of the reply box without having to scroll down and click them.

ShortcutAction
Ctrl-Alt-sRuns the spelling checker on your comment.
Ctrl-Alt-pDisplays your comment in the preview window.
Ctrl-Alt-enter Posts your comment, provided you haven't changed it since you last previewed it.

If you forget any of the shortcuts, just mouse over the button in question to see the tooltip message.

Xinha WYSIWYG HTML Editor

I recently came across the Xinha Firefox Extension. It makes available a visual HTML editor able to create HTML content for any text area or text box on any web site without leaving the browser.

I probably would not have bothered to add the HTML toolbar if I had known about Xinha before I finished. I've since installed Xinha, and it's cool and works well on the Free Republic posting page. However, I find I still use my little toolbar most of the time, because it's right there, it's lightweight, and most FR posting jobs are too simple to need the greater power of Xinha.



TOPICS: Computers/Internet; Reference
KEYWORDS: addon; addonforfr; freerepublic; frposting; html; postingonfr
Navigation: use the links below to view more comments.
first 1-2021-4041-6061-63 next last
I was pointed to this Firefox extension a few years ago, and realize that many FReepers may have not used any HTML helpers for posting.

I use this extension every day, and especially when posting pictures and links.

While I have been around the "Internet" for decades, going back to the original Fort Worth Star Telegram StarText site on a 300 baud modem, my understanding of HTML stopped long ago when I realized that I can hire it done much cheaper than spending my time learning an ever changing markup language.

Bon appetite!

1 posted on 03/29/2022 2:54:48 AM PDT by texas booster
[ Post Reply | Private Reply | View Replies]

To: texas booster

I do not know who wrote this extension.

If anyone remembers (or can search through code better than I) please let us know.

It could be John R. - just do not know.

I have the extension installed and use this every day.

Simply too valuable for new FReepers not to know about.

And follow the link to make sure that all is well with the posting and installing of the extension.


2 posted on 03/29/2022 2:57:23 AM PDT by texas booster (Join FreeRepublic's Folding@Home team (Team # 36120) Cure Alzheimer's!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster

Didn’t read most of that. Suggestion - have the title pop up during the preview stage.


3 posted on 03/29/2022 2:57:27 AM PDT by Libloather (Why do climate change hoax deniers live in mansions on the beach?)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Libloather

Yeah, it doesn’t look as good as I thought that it would.

I posted the whole article, and got burned!

(What would HG say about that?)


4 posted on 03/29/2022 2:58:59 AM PDT by texas booster (Join FreeRepublic's Folding@Home team (Team # 36120) Cure Alzheimer's!)
[ Post Reply | Private Reply | To 3 | View Replies]

To: texas booster

“Click here to install FRPFE on Firefox.”

I tried but I got>>>>The requested document does not exist on this server.
The FRPFE is incorrect....


5 posted on 03/29/2022 3:06:46 AM PDT by dennisw
[ Post Reply | Private Reply | To 1 | View Replies]

To: dennisw

Click here to install FRPFE on Firefox -— Link the correct link to install on fireFox ,,, I am going to try it ou. I just installed Firefox to use this

LINK>>> http://cynwoody.appspot.com/xpi/frpfe.xpi


6 posted on 03/29/2022 3:12:15 AM PDT by dennisw
[ Post Reply | Private Reply | To 5 | View Replies]

To: texas booster
I do not know who wrote this extension.

Cynwoody wrote it. I've been using it for years. It makes posting so much easier.

I also highly recommend his Treeviewer addon.

7 posted on 03/29/2022 3:18:52 AM PDT by KevinB (''...and to the Banana Republic for which it stands ...")
[ Post Reply | Private Reply | To 2 | View Replies]

To: texas booster

Bookmark


8 posted on 03/29/2022 3:32:16 AM PDT by GonzoII ("If the new crime be, to believe in God, let us all be criminals" -Sheen )
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster; cynwoody

It seems to work very well, thank you.


9 posted on 03/29/2022 3:44:33 AM PDT by agere_contra
[ Post Reply | Private Reply | To 1 | View Replies]

To: GonzoII

Bookmark


10 posted on 03/29/2022 3:59:22 AM PDT by gitmo (If your theology doesn't become your biography, what good is it?)
[ Post Reply | Private Reply | To 8 | View Replies]

To: texas booster

and all I ever asked for was to set the focus in the comment box. so often ya get to typing only to realize you didnt click into the comment box before you started typing...


11 posted on 03/29/2022 4:01:54 AM PDT by sit-rep ( )
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster
"(What would HG say about that?)"

Normal people might say "It happens, FRiend."

Other people-who knows...:)

12 posted on 03/29/2022 4:03:53 AM PDT by rlmorel (The concept of a "cashless society" is simply a vector for the exercise of tyranny.)
[ Post Reply | Private Reply | To 4 | View Replies]

To: texas booster

I’d download anything that got rid of HG!!!!!!


13 posted on 03/29/2022 4:04:36 AM PDT by SunTzuWu
[ Post Reply | Private Reply | To 4 | View Replies]

To: texas booster

b


14 posted on 03/29/2022 4:10:31 AM PDT by FatherofFive (We support Trump. Not the GOP)
[ Post Reply | Private Reply | To 1 | View Replies]

To: KevinB

I feel like a dummy. I downloaded on my Mac. How do I retrieve it? It looks like it drifted up to the right upper corner? lol


15 posted on 03/29/2022 4:14:38 AM PDT by nikos1121
[ Post Reply | Private Reply | To 7 | View Replies]

To: GonzoII
BookmarkBookmarkBookmark

It works, I just hope it doesn't empty my bank account while I'm typing this.

16 posted on 03/29/2022 4:15:48 AM PDT by USS Alaska (NUKE ALL MOOSELIMB TERRORISTS, NOW.)
[ Post Reply | Private Reply | To 8 | View Replies]

To: texas booster

How about Safari?


17 posted on 03/29/2022 4:18:00 AM PDT by Mark17 (Retired USAF air traffic controller. Father of a USAF pilot. USAF aviation runs in the family )
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster

Bookmark


18 posted on 03/29/2022 4:24:01 AM PDT by jimjohn (We're at war, people. Start acting like it.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster

Bump


19 posted on 03/29/2022 4:32:51 AM PDT by fishtank (The denial of original sin is the root of liberalism.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster

bkmk


20 posted on 03/29/2022 4:36:29 AM PDT by sauropod (So may we start? When can we start?)
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-4041-6061-63 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson