View my usage.... a suggestion
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- My Account/Billing
- :
- Re: View my usage.... a suggestion
View my usage.... a suggestion
28-03-2012 9:43 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The existence of two measures GB and MB in the same table as presented by PN with the requisite annotations is the problem, as also is the need to convert info to either MB or GB to make analyses.
I suggest to PN management, therefore, that all usage should be standardised to GB to, say, three decimal points.
Re: View my usage.... a suggestion
28-03-2012 10:01 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: View my usage.... a suggestion
28-03-2012 12:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: View my usage.... a suggestion
28-03-2012 3:44 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: View my usage.... a suggestion
28-03-2012 9:05 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Would you consider trying a Greasemonkey script that converted all MB numeric values to GB and omitted the "requisite annotations"?
Re: View my usage.... a suggestion
28-03-2012 10:20 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: View my usage.... a suggestion
28-03-2012 10:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
What's the worst that can happen?
Re: View my usage.... a suggestion
29-03-2012 9:58 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If not me someone might want and feel more able to use?
Re: View my usage.... a suggestion
29-03-2012 5:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
So, here's a greasemonkey script that seems to work OK for me. However I'm not sure about the global side effects.
// ==UserScript==
// @name Broadband Usage in gigabytes
// @namespace https://portal.plus.net/view_my_broadband_usage/index.php
// @description Remove UOM from usage figures
// @include https://portal.plus.net/view_my_broadband_usage/index.php?&strAction=PERIOD
// ==/UserScript==
var currentUom, currentCell, currentUsage;
var targetCells = document.getElementsByTagName('td');
var targetH3 = document.getElementsByTagName('h3');
for (i=0; i < targetCells.length; i++) {
if (currentCell = targetCells.childNodes[0].nodeName !== 'STRONG') {
currentCell = targetCells.innerHTML;
}
else {
currentCell = targetCells.childNodes[0].innerHTML;
}
currentCell = currentCell.replace(/\s/g, '');
currentUom = currentCell.substr(-2);
currentUsage = parseFloat(currentCell);
switch (currentUom)
{
case "KB":
currentUsage = currentUsage/1000/1000;
targetCells.innerHTML = currentUsage.toFixed(3);
break;
case "MB":
currentUsage = currentUsage/1000;
targetCells.innerHTML = currentUsage.toFixed(3);
break;
case "GB":
currentUsage = parseFloat(currentUsage);
targetCells.innerHTML = currentUsage.toFixed(3);
break;
default:
currentCell = currentCell;
}
}
for (i=0; i < targetH3.length; i++) {
if (targetH3.innerHTML === 'Key:') {
targetH3.innerHTML = 'Note:';
targetH3.nextElementSibling.innerHTML = '<li>All figures are in gigabytes (GB)</li>';
}
}
Edit - updated the script code
Re: View my usage.... a suggestion
30-03-2012 6:10 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: View my usage.... a suggestion
30-03-2012 7:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
1. Install Firefox
2. Install Greasemonkey add-on to Firefox
3. In Firefox, select Tools > Greasemonkey > New User Script...
4. In the window that appears enter a name for this script, eg "Broadband usage in gigabits" and click OK.
5. A page should open in your text editor, eg Notepad.
6. Copy the entire text from the code box in my previous message in this topic, and paste it into the window opened in step 5, replacing the previous contents.
7. Close the text editor, saving the changes.
8. Go to the Plusnet Broadband usage (for the current period).
9. Optionally, tell me where I've got it wrong
FYI. There are other ways to achieve the above. Also, I believe that Chrome supports userscripts without an add-on, but I've never tried it.
Re: View my usage.... a suggestion
30-03-2012 8:40 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: JohnJ 9. Optionally, tell me where I've got it wrong
It doesn't work!
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: View my usage.... a suggestion
30-03-2012 8:43 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Could you be a little more specific? For example, are some of the values changed and not others?
Re: View my usage.... a suggestion
30-03-2012 8:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: View my usage.... a suggestion
30-03-2012 9:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The script should also add a message at the bottom of that column about the figures being in GB.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- My Account/Billing
- :
- Re: View my usage.... a suggestion