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 previous 1-2021-4041-56 next last
To: SunTzuWu

+1


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

To: GonzoII

Bookmark


22 posted on 03/29/2022 4:48:42 AM PDT by TermLimits4All (We all know the solution to preserve freedom. Who though has the will to fight for it.)
[ Post Reply | Private Reply | To 8 | View Replies]

To: texas booster

Cynwoody wrote it. I had been using it for years, then I spruced it up a bit for myself.


23 posted on 03/29/2022 4:56:04 AM PDT by Bikkuri (I am proud to be a PureBlood.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: texas booster

Bump.


24 posted on 03/29/2022 5:08:30 AM PDT by tet68 ( " We would not die in that man's company, that fears his fellowship to die with us...." Henry V.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster
Screenshot of editor buttons since yours didn't come through.

New website for Xinha. https://trac.xinha.org/ since your link was a 404

I've been using cyndywood's helper for years but didn't know about all the keyboard shortcuts

25 posted on 03/29/2022 5:24:09 AM PDT by Pollard (PureBlood -- https://youtube.com/watch?v=VXm0fkDituE)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Pollard

I Clicked twice on the Post button in my screenshot thinking it was the real thing LOL


26 posted on 03/29/2022 5:25:13 AM PDT by Pollard (PureBlood -- https://youtube.com/watch?v=VXm0fkDituE)
[ Post Reply | Private Reply | To 25 | View Replies]

To: Pollard

Hahahahahahahaha

I did that yesterday on a screen capture...made me grin to see I am not the only one who occasionally turns the ankle on it!


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

To: texas booster
I've been using this for years. It's great.

I've suggested it to many people over the years without success. Some people just don't want to try new things.

28 posted on 03/29/2022 5:33:20 AM PDT by TangoLimaSierra (⭐⭐Public hangings will wake 'em up.⭐⭐)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Mark17

If you get an answer to the Safari question, please ping me. I’m interested in knowing also.


29 posted on 03/29/2022 5:33:43 AM PDT by FamiliarFace (I wish “smart resume” would work for the real world so I could FF through the Biden admin BS.)
[ Post Reply | Private Reply | To 17 | View Replies]

To: texas booster

Nice! Many thanks!


30 posted on 03/29/2022 6:46:36 AM PDT by Joe Brower ("Might we not live in a nobler dream than this?" -- John Ruskin)
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster

This extension has been around for quite some time. I used to use it but got rid of it because some things were easier without it. Not sure who wrote it...don’t think it was John R.


31 posted on 03/29/2022 7:12:40 AM PDT by Bloody Sam Roberts (Imagine, if you will, a vaccine so safe you have to be threatened to take it. )
[ Post Reply | Private Reply | To 2 | View Replies]

To: texas booster

Sounds cool. My understanding is that Brave is pretty much Chrome with Google removed and privacy enhanced (that’s why I use it). So I’m going to try installing it to Brave.


32 posted on 03/29/2022 7:12:56 AM PDT by WhoisAlanGreenspan? (It's a failed virus but a hugely successful propaganda campaign.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: texas booster

A pet peeve of mine...
when you are adding a poster’s handle to a reply, and misspell the name....why can’t the software come back and ask you: **Did you mean...*XXXX*, like a spellcheck for user names.


33 posted on 03/29/2022 7:20:39 AM PDT by Daffynition (*This admin tells us *A* story; but they don't tell us *THE* story* & :) ~ D Bongino)
[ Post Reply | Private Reply | To 1 | View Replies]

To: FamiliarFace; Mark17; SunkenCiv; dayglored; ShadowAce

While I do not know about Mac OS compatibility, I believe that this one is browser dependent.

I found versions for Chrome and Firefox, showing the author’s preferences at the time it was written.

Not sure about Safari or other non-Chromium browsers, or about the entire Windows/Mac/M1 world.

Pinging some folks who should be able to shed light on the subject.


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

To: Swordmaker

Your input is needed. 😀


35 posted on 03/29/2022 7:31:14 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 34 | View Replies]

To: texas booster
I've never used this plugin.

However back in 200? I wrote a greasemonkey script to add an "Ignore" button on the "Post Reply" line. It would then remove every post by that poster in every thread.

I have since changed computers a couple of times and I don't think I have it any more, but it was cool. Looked like it belonged there.

36 posted on 03/29/2022 7:34:43 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 34 | View Replies]

To: texas booster

Does it forward all our keystrokes to China?


37 posted on 03/29/2022 8:40:15 AM PDT by Albion Wilde (If science can’t be questioned, it’s not science anymore, it’s propaganda. --Aaron Rodgers)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Daffynition
A pet peeve of mine... when you are adding a poster’s handle to a reply, and misspell the name....why can’t the software come back and ask you: **Did you mean...*XXXX*, like a spellcheck for user names.

That would be an easy way for hackers to reassemble FR's user database and mine additional data about individuals. No, thanks. This is a ~relatively~ anonymous forum.

38 posted on 03/29/2022 8:44:01 AM PDT by Albion Wilde (If science can’t be questioned, it’s not science anymore, it’s propaganda. --Aaron Rodgers)
[ Post Reply | Private Reply | To 33 | View Replies]

To: texas booster

Do you know if the extension will work on/with the Brave browser? (I switched off Firefox when Mozzila when “woke”).


39 posted on 03/29/2022 9:48:28 AM PDT by Wuli
[ Post Reply | Private Reply | To 1 | View Replies]

To: Wuli

There are two versions, one for Firefox and one for Chromium based browsers.

I understand that one should work on Brave - I thought that they were moving to Chromium at some point.


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


Navigation: use the links below to view more comments.
first previous 1-2021-4041-56 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