topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday June 25, 2025, 8:48 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 165 166 167 168 169 [170] 171 172 173 174 175 ... 225next
4226
Does that mean I get the coveted csnacks badge ?

 ;)
4227
This works!  Awesome :up: 

Thanks!

I have tried it out and it works great.  The only improvement I can think of for it would be to also recognize email addresses that are linked, but I am happy the way it is!

Stupid me, mailto addresses don't have // on the end, just edit it to change:

var re_mail = new RegExp("^mailto:\/\/");

to:

var re_mail = new RegExp("^mailto:");

and that should take care of it.

Nice work, 4wd.  Well done.   :D

Well, I wouldn't call it exactly 'nice' since I don't know if Element type of 'text' actually exists, that was just a guess on my part.  When it worked I stopped looking for the 'legal' method  ;D

Thanks skwire.
4228
After a little fooling around with GreaseMonkey and some outright butchery of a few userscripts, I've come up with something guaranteed to turn any sane website into a masterpiece of confusion.

Using the AutoHK site you gave above as an example, you'll get:

2011-03-30_15-16-32.jpg

Code: Javascript [Select]
  1. // ==UserScript==
  2. // @name          TextLink
  3. // @namespace    
  4. // @description   Append text link after clickable link
  5. // @include       http://*
  6. // @include       https://*
  7. // @exclude       http://192.168.0.*
  8. // ==/UserScript==
  9.  
  10. var links, link;
  11. links = document.evaluate(
  12.    '//a[@href]',
  13.    document,
  14.    null,
  15.    XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
  16.    null);
  17.  
  18. var re_http  = new RegExp("^http.*:\/\/");
  19. var re_mail = new RegExp("^mailto:");
  20. var re_ftp = new RegExp("^ftp.*:\/\/");
  21. for (var i = 0; i < links.snapshotLength; i++) {
  22.    a = links.snapshotItem(i);
  23.  
  24.    if(a.href.match(re_http)) {
  25.       newDiv = document.createElement('text');
  26.       a.parentNode.insertBefore(newDiv, a.nextSibling);
  27.       newDiv.innerHTML = "&nbsp;[" + a + "]";
  28.    }
  29.    if(a.href.match(re_mail)) {
  30.       newDiv = document.createElement('text');
  31.       a.parentNode.insertBefore(newDiv, a.nextSibling);
  32.       newDiv.innerHTML = "&nbsp;[" + a + "]";
  33.    }
  34.    if(a.href.match(re_ftp)) {
  35.       newDiv = document.createElement('text');
  36.       a.parentNode.insertBefore(newDiv, a.nextSibling);
  37.       newDiv.innerHTML = "&nbsp;[" + a + "]";
  38.    }
  39. }

Save as TextLink.user.js - unless you have another called that, in which case save it as something else and change the name on the @name line.  Then just drop it on the Firefox window, if GreaseMonkey is installed it should recognise and install it.

I've only tested it on a couple of sites and I have no idea if what I've done follows Good Programming Guidelines but hey, what do expect for 30 minutes of completely unintelligent, uneducated keyboard tapping.

I'd recommend you leave it disabled until you're on a site you want to copy text from, then enable it and refresh ;)
4229
This sounds like an idea that might benefit more from using a GreaseMonkey userscript, ie. change the actual web page so that it looks the way you want to paste it before you copy it.
4230
General Software Discussion / Re: What Android Apps Do You Use?
« Last post by 4wd on March 28, 2011, 12:31 AM »
I've tried Dolphin HD once but found it slow compared to the stock browser.

Just tried Dolphin and I like it better than the stock browser, a lot easier to use, speed is about the same - thanks for mentioning it  :Thmbsup:
4231
General Software Discussion / Re: What Android Apps Do You Use?
« Last post by 4wd on March 24, 2011, 12:53 PM »
Wow. You all really use all that?

I've abandoned a lot of software because my carrier's network is so bad.

Well, you did choose arguably one of the most forked 3G networks in Australia :P

Lesson #1: Never, ever buy a locked mobile in Australia. (Or don't buy where you're locked into a contract.)
Lesson #2: The lower the frequency, the better the solid object penetration.

eg. Telstra: 850MHz everywhere + a lot more towers.
      Optus/Vodafone: 900MHz Rural & 2100MHz Metro (Although they are starting to install 850MHz - bit late me thinks.)
4232
General Software Discussion / Re: What Android Apps Do You Use?
« Last post by 4wd on March 24, 2011, 04:27 AM »
Huawei U8150 with UltraJack-Recovery 6.2.2 and FUSIONIdeos 1.9 Experimental.

SuperBox - System info, quick settings (WiFi, GPS, etc), move apps to MicroSD when downloaded (App2SD function) plus a lot more.
WiFi Analyzer - Find hotspots or locate a clear channel for your own WiFi.
GPS Status & Toolbox - Because I'm interested in knowing where I am but not interested in SatNav.
MapDroyd - Offline maps via OpenStreetMaps, (the World only takes up ~5.5GB).
File Expert - Excellent file manager plus one touch HTTP/FTP server for managing via PC.
SpiderOak - Like DropBox only encrypted :)
KeePassDroid - Logins, etc.
4233
Living Room / Re: My Movie Fantasy
« Last post by 4wd on March 22, 2011, 06:00 AM »
The Birds ?

What!?  Birds aren't cute and cuddly?
4234
Living Room / Re: Leave me in the clouds
« Last post by 4wd on March 21, 2011, 07:42 PM »
(one with a flatrate, one with a pre-paid SIM)
Zomg! You must be a terrorist!

:p

Geez, what does that make me then:
1 x $1/month 3G SIM (TPG - mainly for the data, 50MB free)
1 x $5/month GSM SIM (Telstra - my normal mobile with international roaming)
1 x Pre-paid 3G SIM (non-expiring credits - she who must be obeyed emergency phone)
1 x Pre-paid SIM (UK Tesco - for when we're over there for months on end)

On another note, I have to stand up and admit: I bought an Android Smartphone  :-[

Naturally, already rooted and modified Android installed  :Thmbsup:

At AU$99 I just couldn't resist a new toy: Huawei U8150 (also rebadged into the T-Mobile Comet)
4235
Is it possible to get classic view for Firefox 4 ? I don't like the new modifications :/

Isn't that just like turning all the toolbars on?

2011-03-18_20-36-42.jpg
4236
Found Deals and Discounts / Re: UbiSoft: Free Games
« Last post by 4wd on March 18, 2011, 12:42 AM »
Freakin' ozzies!!  They're hammering the servers to death......oh wait...... :-[

Modified first post - looks like someone got up in the middle of the night to fix their problem.
4237
Found Deals and Discounts / Re: UbiSoft: Free Games
« Last post by 4wd on March 18, 2011, 12:08 AM »
Who knows, the guys from Ozbargain seem to be hammering the site though :)

Oooppss!  Should have mentioned that's where the original heads up came from.
4238
Found Deals and Discounts / [DEAD] UbiSoft: Free Games
« Last post by 4wd on March 17, 2011, 11:48 PM »
UPDATE: Looks like the site bug has been fixed.

For anyone that's interested Ubisoft have some free FULL games up for download.

Ubisoft

Some screenshots:

2011-03-18_15-41-45.jpg

2011-03-18_15-45-19.jpg

2011-03-18_15-46-45.jpg
4239
Around Christmas time when Surfulator was running a 50% off sale, I was debating whether or not to get it but the fact that they gave such a limited free upgrade period, that 3.4 had been out for some time and that they gave no indication of when v4 would be released made me decide against it even though it looked like a program I might use a fair bit.

I'm glad I did :)

Maybe now it's time to start organising my scraps of electrons.

Portable too  :Thmbsup:

Any chance of adding encryption to the database?
4240
Living Room / Re: Need a New Mouse
« Last post by 4wd on March 16, 2011, 09:45 PM »
Yes. The mouse recharges through USB, which is very convenient.

It was very convenient on the wireless mouse I used to have but the rechargeables last nowhere near their expected life cycle.

As for a dedicated charger, sigh... too many cables already.

Oddly enough it doesn't have to sit next to the computer, it could be in the lounge charging the remote batteries, it the kitchen, in the car, etc.
4241
Living Room / Re: Need a New Mouse
« Last post by 4wd on March 16, 2011, 06:15 PM »
If anyone knows how modern rechargeable batteries work, do you have any hints as to what happened?

Charging NiCad and NiMH requires a special kind of voodoo, you can read about it here.

Does the battery charge 'in mouse', ie. plug a lead into a USB port and charge it that way?

If so, I'd recommend using a decent dedicated charger instead as I've never found a inbuilt charger in a mouse, (or in any consumer equipment), to be anywhere near as good.

What I use is one of these: MAHA MH-C401FS - arguably one of the best AAA/AA chargers around.
4242
Announce Your Software/Service/Product / Re: Bvckup
« Last post by 4wd on March 16, 2011, 06:00 PM »
I just put Bvckup on my Netbook and ran into a (frustratingly) frequent problem with running software on a Netbook: Some of the option screens are too tall for my limited resolution (1024x600) so I can't access the options that go off the bottom of the screen.

Since you're running the same graphics chipset as the AAO, try Downscaling Switcher, (it was written for the Wind but seems to work on any netbook with the Intel 950 chipset) - it'll switch the screen into a compressed 1024x768 mode.

You need to turn off the Hide modes that this monitor cannot display under Display Properties->Advanced->Monitor

Attached below because I couldn't find a working link quickly.

You could also just switch the screen to 1024x768 and scroll it up by moving the mouse to the bottom.
4243
Living Room / Re: USB Madness With Cooked-Off Ports
« Last post by 4wd on March 15, 2011, 10:08 PM »
ROFL ...I strongly suspect we may have both gone to the same diagnostics academy (BFHU).

Quoting Ray Tanner (Bruce Campbell):
[the vending machine finally dispenses coffee when Ray gives it a hard kick]
Ray Tanner: Hey, we don't take no shit from a machine!

On a side note: The printer decided to "celebrate" by taking a complete shit 20 minutes later...However it was printing a job when it died.

Obviously the shock of seeing it's lifelong friend back in action.

Stoic Joker: Bring out yer dead.
[a USB Port accepts a plug from a Printer]
USB Port: Here's one.
Stoic Joker: That'll be ninepence.
Printer: I'm not dead.
Stoic Joker: What?
USB Port: Nothing. There's your ninepence.
Printer: I'm not dead.
Stoic Joker: 'Ere, he says he's not dead.
USB Port: Yes he is.
Printer: I'm not.
Stoic Joker: He isn't.
USB Port: Well, he will be soon, he's very ill.
Printer: I'm getting better.
USB Port: No you're not, you'll be stone dead in a moment.
Stoic Joker: Well, I can't take him like that. It's against regulations.
Printer: I don't want to be recycled.
USB Port: Oh, don't be such a baby.
Stoic Joker: I can't take him.
Printer: I feel fine.
USB Port: Oh, do me a favor.
Stoic Joker: I can't.
USB Port: Well, can you hang around for a couple of minutes? He won't be long.
Stoic Joker: I promised I'd be at the Robinsons'. They've lost nine today.
USB Port: Well, when's your next round?
Stoic Joker: Thursday.
Printer: I think I'll do a test print.
USB Port: You're not fooling anyone, you know. Isn't there anything you could do?
Printer: I feel happy. I feel happy.
[Stoic Joker glances up and down the office furtively, then silences the Printer with a whack of his hammer]
USB Port: Ah, thank you very much.
Stoic Joker: Not at all. See you on Thursday.
USB Port: Right.
4244
Living Room / Re: USB Madness With Cooked-Off Ports
« Last post by 4wd on March 15, 2011, 06:37 PM »
A) What is shotgun mode?

Also called the Scattergun Approach: Pertaining to fault finding it, basically, means that when you have no idea where the fault lies you do something that changes a lot of things, (multiple component/board replacement, multiple software removal, etc), in the hope that what you do will fix it.

This is analogous to using shot cartridges, (not solids), in a shotgun where you hope that at least some of the shot will hit it's intended target.

Normally if this particular methodology fails you revert to S.O.P. #1, ie. hit it with a hammer.

B) I've never been a fan of USB.  It's convenient and I use it, but I've never been all that impressed with it.  I've always hated the idea of "safely" removing USB stuff.  What's the point of creating this kind of interface when we have to be so concerned about removing it safely.  Why not implement it in such a way so you can pull it out and put it back in  ;D without worrying about it?

Because OS' cache the data they write to USB devices usually, therefore if you were to pull your USB device out immediately after a copy/move operation to the USB device without using Safely Remove, chances are the device may become corrupt.

Safely Remove flushes the caches of any waiting data writes, checks for any program/object locks and then tells you if it's OK to remove it.
4245
Living Room / Re: USB Madness With Cooked-Off Ports
« Last post by 4wd on March 15, 2011, 05:37 PM »
I turned it loose in shotgun mode (because it matched the mood I was in)....

How does that line up with:

Warning:
So use it with care and only if you know what you are doing!

 ;D
4246
Long ago when I lived in Canada, there were gas stations that had hybrid fuels for cars that contained, I believe, ethanol. I've not seen anything like them since.

A few years ago here in Australia when Johnny Thicko ran the country, there was much outcry that the petrol found at a lot of outlets contained ethanol.  Ethanol, being cheaper than petrol, enabled the fuel companies to turn a bigger profit on sales because they never told anyone they were putting ethanol in it nor did they drop the price at the pump to reflect the cheaper cost.

Guess who the ethanol manufacturers were friends with?  (Hint: Our dipsh!t PM at the time.)

Nowadays you can get E10 fuel at quite a few outlets, (mostly independent), and it usually costs a few cents less.  What I'd like to see is more availability of Bio-Diesel but unfortunately our stupid Government has nobbled that using increased taxes.  Also the flexi-fuel vehicles that Brazil has bought into considering our rather large reserves of natural gas.
4248
General Software Discussion / Re: How to choose the best Linux distro for laptops
« Last post by 4wd on March 13, 2011, 05:26 PM »
It's a silly question I know but....other than being a 'netbook', exactly what is it?

And the reason I ask is: Some manufacturers shipped them with a Linux distro, (the AAO AOA110 being a case in point), ie. have you checked the manufacturers site to see if they have one?
4249
General Software Discussion / Re: How to choose the best Linux distro for laptops
« Last post by 4wd on March 13, 2011, 02:10 PM »
xPUD: I ran it from USB thumb drive which was fast and easy but I couldn't figure out how to get my wifi to work. It also seemed to forget everything when I rebooted, losing all settings and customization. :down:

Regarding xPUD, it is not designed to be a full always used OS, it's designed to be an 'instant on' OS, (as you find, eg. in ASUS BIOS'), for netbooks for when you're travelling and you don't want to boot into the full OS.
As such there's really no need to store WiFi settings as they're going to be changing as you move around.

xPUD WiFi works fine on my AAO with the standard hardware: type in SSID and network password and it connects.
4250
General Software Discussion / Re: How to choose the best Linux distro for laptops
« Last post by 4wd on March 13, 2011, 05:19 AM »
Linpus Lite as came standard on the Acer Aspire One AOA110 was fairly speedy even on the dog of a SSD they had in them.
Pages: prev1 ... 165 166 167 168 169 [170] 171 172 173 174 175 ... 225next