bpm's Operations Room

understanding & extending Opera

Subscribe to RSS feed

Sticky post

Buttons

(last updated 2010-3-16) (green links are button-installer tags)

Some button lore and links, and about 20 buttons: mostly from me with a few favorites from others; mostly useful, with a few whose value is chiefly as demos or explorations.

Read more...

zoom files: supercollapsible text via DHTML

,

Collapsible outlining taken to another dimension - literally: 2-dimensional collapse, many items per line - which can get hundreds of items on one screen, collapsed down to buttons. They can be sorted under headings, and moved around.

The idea is to be able to organize large amounts of loosely-related information in a way that gives you the ability to back out to a comprehensive global view yet still see everything. I have three files going - work, computer stuff and random/household/personal. It may take a moment to realize that, by putting a link to one of these files on a toolbar, you've suddenly got the HTML-notes-in-Opera that has been a chronic wishlist item.

It's editable HTML, with DHTML providing the format flexibility. It's similar to the Macro Manager posted earlier - but intended as a general text file.

Read more...

HTML-editing toolbar

last edited 2010-5-20: getting SavLocGen to work with 10.53 (added void)

It's possible to use Opera as a WYSIWYG word-processor, using three types of functions. Two of these are built in by Opera.ASA, but not promoted or attached in the UI anywhere: switches which make HTML editable (there are two - Design Mode, and the contentEditable attribute), and format commands (via execCommand). The third essential component is functions to save the edited page to disk; Opera.ASA doesn't provide these, but users have, using javascript. Here's the toolbar I've developed to bring it all together. It uses the Navigation bar, stripped of the default Nav buttons. It includes a Design Mode toggle, ten format buttons (four of them bringing up menus) and two save functions - plus a few other things.

The two basic use modes are: saving, excerpting, and marking up web pages; and starting HTML files of your own, stored locally, which are word processing documents which offer all the control and resources of HTML. For an idea of how that might be useful, see the Macro manager and Zoom File posts (linked on the sidebar).

Read more...

log 2010

Learnings & developments (not needing a post of their own)


20102-2-23: the Browser Menu Button: critique, opportunity, fix
2010-2-19: anchor links are case-sensitive. Forum post.
2010-2-11: how Opera splices its variables (%c,%t, %u, %l) into javascript
2010-2: menu item: lengths of selection, clipboard, file
2010-1: find&replace keystroke (er... make that replace&find)

Read more...

Macro manager

, , , ...

textarea version added 2010-2-13
Opera 10.5-compatible update 2010-2-21



You can think of this as the My Buttons customization page on steroids, or a buttonmaker-with-icon-chart which takes the next step by adding storage - it's both. Unlike the My Buttons page, it lets you view and edit button actions, add comments, organize buttons into groups with headings, and include macros which are not buttons. It also generates (in addition to button-installer tags) installer tag code (BBCode & HTML formats) you can paste into forum posts or web pages, and toggles between compact and expanded views by item or globally.

Two versions: full view version (now 10.5-compatible) (which I prefer) uses fit-to-content editable areas (via the contentEditable attribute) to allow actions and remarks to be seen in their entirety even if long (but is a little flaky for editing); textarea version uses more familiar fixed-length textareas to present the editable elements - less quirky, but hides the ends of long items.

Read more...

icon chart (2010)

, ,

last updated 2010-2-21 (now works in Opera 10.5)

Here's an updated icon chart. 874 items, up from 534 on the list I used in 2008. Two other improvements: tags (which are quite long) are generated from a list of names (shorter) for code efficiency, and click-to-copy-icon-name has been added.

(Note: this chart is included in Macro Manager, posted above - see there for picture.)

Read more...

OnTheFly button editor

,

For when you find a button that's almost what you want.

Rightclick the button-installer tag, and select the editor from your popup menu; a dialog is generated, with the original tag, plus its code both onscreen and in a text box to modify. There's a button to click to generate installer tags for your amended versions - as many as you like.

Read more...

ButtonMaker3

, , , ...

(A step on the path to Macro Manager, now superseded)

.

Read more...

Web snip folder options

(green links are button-installer tags)

No need to wait for official implementation - here are three ways to make and store HTML snips - complete with in-selection formatting and links (even pictures, if image has absolute URL), timestamps and source-page links.

Read more...

Menu-line installer button (error-handling)

,

Demo of a technique for push-button installation of Opera extensions which require changes to the menu file. It adds a demo function (a popup page) to the document context menu.

When the button is clicked: menu file opens, source view opens, inline-find command finds document popup section, and a new menu line and linebreak are inserted.

But what if the menu file doesn't have a Document Popup section yet? That's when things get interesting...

Read more...