Bembel-B Blog

2008/03/26

Neo Diggler Actions I Find Useful

Neo Diggler is a Firefox Add-on that lets you define and run actions based on your current URL, like jumping to parent folders. It’s the successor of Diggler compatible with newer browser versions. It’s a very useful Add-on, I’d say. I’ll provide some actions I hacked together over the time. I guess there’s be much room for improvement, but they are indeed working real nice for me.Firefox 2

Reload the current page from CoralCDN.

Name: CoralCDN
Matching Regular Expression: ^http://(.+)$
Show Action as Menu Entry: no
Action: http://$h.nyud.net$p

Opens the BugMeNot entries for the current domain in another window. Doesn’t work in Windows.

Name: BugMeNot
Matching Regular Expression: ^(.+)$
Show Action as Menu Entry: no
Action: javascript:window.open("http://www.bugmenot.com/view/$h", "$h"); javascript:window.reload();

Loads the current page with an www subdomain (http://some.example.com/foobar.php becomes http://www.example.com/foobar.php).

Name: www Subdomain
Matching Regular Expression: ^(.+//)([\d\w]+\.|)(.+)$
Show Action as Menu Entry: yes
Action: $1www.$3

Loads the current page’s base address with a www subdomain (http://some.example.com/dig/around/here.html becomes http://www.example.com/).

Name: www Subdomain Index
Regular Expression: ^(.+//)([\d\w]+\.|)([\d\w\.]+\.[\w]+/)(.*)$
Show Action as Menu Entry: yes
Action: $1www.$3

Loads a current http page as https (ssl).

Name: https
Regular Expression: ^http([^s].+)$
Show Action as Menu Entry: yes
Action: https$1

Click the left thumbnail to see how these actions appear in Neo Digglers context menu next to the Firefox address bar.

A great help when building Regular Expressions is KDE’s kregexpeditor, part of kdeutils. You can visually compose and analyse your regexes and match them against desired text.
And well, while this regex might seem like black magic at first (and second ;) sight, and it can be kind of mind boggling oftentimes, it’s really worth learning it! The syntax is being used in so many places (tools, programming languages) and will come very handy for parsing and substituting texts.

ChangeLog

[2008-03-30: Fix https action. BugMeNot not working in Windows.]

2008/03/21

Direct Links to Box.net Shared Files for Free

Filed under: Box.net,Deep Link,Direct Link,File Hosting,Internet,Web,websites — FrankZabbath @ 11:33

Update

Sadly this method stopped working. Even old links don’t work anymore. You would have to use shared instead of lite again.

I’ve been happily using the free Box.net file hosting for a while. What’s a bit annoying is that as a free member you aren’t offered direct links to your shared files. So you’d always have to load some sort of bridge page containing the direct link. But I found an easy way for direct linking, which I successfully use for example on this blog. Here’s how..Box.net

  1. Log in to your box.net account (what a surprise ;)
  2. Browse to URL http://www.box.net/lite/
  3. Upload one single file
  4. Note down the shared file URL, e.g. http://www.box.net/shared/dgr8b0xn3t
  5. The Direct Link is the given URL above with /shared/ replaced by /lite/. That would be http://www.box.net/lite/dgr8b0xn3t

Beware that Hot Linking is not allowed with Box.net AFAIK (at least for free members), so don’t use this to embed your 10 MB Flash applets or something like that. But still, Deep (or Direct) Linking like I do with my downloads will most certainly not cause you trouble.

ChangeLog

[2009-04-26: This trick isn’t working anymore.]

2008/01/21

Firefox Add-ons galore!

Time for some boring list of my currently used Firefox Add-ons. :) This one is for my Linux Firefox, but it’s about the same collection in Windows (except for Auto Copy). And sorry for these half-hearted descriptions of the Add-ons. :)

Firefox 2

UserAgent-String: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11

Adblock Filterset.G Updater 0.3.1.3 – Updater for Adblock Plus filterlists
Adblock Plus 0.7.5.3 – Block advertisements etc. from being shown
All-in-One Gestures 0.18.0 – Mouse gestures and shortcuts
Bookmark Duplicate Detector 0.6.3 – Warning, when trying to add the same bookmark twice
Bookmarks LinkChecker 0.6.8.4 – Check bookmarks for dead links
Bookmarks Synchronizer SE SiteBar Edition 1.1.8.0.4 – Sync your bookmarks as XBEL files e.g. for SiteBar
Boox 1.1.0.0 – Extended tooltips in bookmarks sidebar
Clippings 2.6 – Manage text snippets
CoLT 2.3.0 – Copy link text with URL
CookieCuller 1.3.1 – Advanced Cookie management
Copy Links 0.1.4 – Copy all selected links
CustomizeGoogle 0.69 – Many options for customizing Google. Remove advertisement, gain privacy, add links to other searchengines..
Dict 0.6.71 – Dictionary search
Enhanced Bookmark Search 0.1.4.04.1 – Search bookmarks with various criteria
FEBE 5.1.1 – Backup tool
Firebug 1.05 – HTML/CSS/JavaScript inspector, (step-) debugger and profiler
Firefox Companion für eBay 1.1.1 – eBay Sidebar
FlashGot 0.7.5 – Downlad manager integration and tools
Foxmarks Bookmark Synchronizer 2.0.41 – Sync your bookmarks at foxmarks.com
Greasemonkey 0.7.20070607.0 – Custom JavaScript to change loaded websites on-the-fly
keyconfig 20060828.1 – Configure key shortcuts
Locate in Bookmark Folders 0.2.5 – Jump from a bookmark search result to its place in the full bookmark list (useful to access its context menu)
MediaPlayerConnectivity 0.8.3 – Open various embedded media files in your preferred standalone media player
MIME Edit 0.60 – Configure MIME type handling
MR Tech Local Install 5.3.2.6 – Better management for Add-ons and Themes
Neo Diggler 1.0.3 – Jump to a parent of your currently loaded URL and other shortcuts
OpenBook 1.3.4.1 – Extended options when adding bookmarks
Paste and Go 2 0.8 – Load URL or use search engine with your clipboard content
QuoteURLText 1.0.6 – Quotation from a website with URL and Title etc. copied into clipboard
SmartSearch 3.7 – Integrate keyword search bookmarks for searching a highlighted text from the context menu
Tab Mix Plus 0.3.6 – Great extension to tabs and link opening behaviour
Update Bookmark 0.0.4.1 – Overwrite a bookmark with the currently loaded website
User Agent Switcher 0.6.10 – Change the useragent string
wmlbrowser 0.7.17 – Support for WML documents
XHTML Mobile Profile 0.5.2 – Support for Mobile Profile XHTML documents

2007/06/19

Watching Stage6 Video Streams Without DivX Web Player Plugin With Firefox

Trying to watch a DivX video stream like hosted by Stage6 you’re prompted to install the DivX Web Player Browser Plugin. It’s only available for Windows and Mac and certainly is a bit of a bloat just for viewing videos whose codec you already have installed. Luckily there’s a Firefox Add-On called MediaPlayerConnectivity available which saves you from the need installing that Web Player Plugin.
Firefox 2
You can get the MediaPlayerConnectivity Add-On at Mozilla. It will modify webpages adding a playback icon that will open the stream URL in the configured standalone media player like VLC or Xine. Works quite nicely. I only chose DivX streams to be handled by the Add-On so that’ll catch the DivX Web Player streams. Have fun!

Blog at WordPress.com.