dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
576
share rss forum feed

Mango
What router are you using?
Premium
join:2008-12-25
www.toao.net
kudos:12
Reviews:
·Callcentric
·Anveo
·Shaw

[howto] Print or Export your Account History

Shaw lets you view your account history going back several years. This is good. The problem is instead of doing things the proper way like they USED to do, they recently decided to be fancy and in the process crippled everything by placing the data in a scroll window. This makes it useless because it's impossible to print or save.

I have two solutions.

1) Shoot the web developer who wrote this.

2) Load the date range you wish, and then paste the following in Firefox's Scratchpad:

document.getElementsByClassName = function(cl, el) {
 var retnode = [];
 var myclass = new RegExp('\\b'+cl+'\\b');
 if (!el) el = this;
 var elem = el.getElementsByTagName('*');
 for (var i = 0; i < elem.length; i++) {
  var classes = elem[i].className;
  if (myclass.test(classes)) retnode.push(elem[i]);
  }
 return retnode;
 }
 
document.getElementsByClassName('accountHistoryContent')[0].appendChild(
 document.getElementsByClassName('accountHistoryScroll')[0]
 );
 
document.getElementsByClassName('accountHistoryScroll')[0].style.top='240px';
 

m.

ErikRP

join:2004-11-06
Winnipeg, MB

Very good.

Hopefully you weren't suggesting the solutions are an either/or proposition. Both are valid solutions.