Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 8 9 [10]

Author Topic: DSLstats webserver - Custom Interface  (Read 17378 times)

RTouris

  • Member
  • **
  • Posts: 32
Re: DSLstats webserver - Custom Interface
« Reply #135 on: June 07, 2019, 12:48:51 PM »

How strange.   

Mine using pbparams.txt works fine here in Firefox, Chrome, Opera, Palemoon & Vivaldi.
Do you have the same problem when trying to view my stats?

https://kitz.co.uk/linestats/pbparams.htm

I'm wondering if there may perhaps be some application or setting on the desktop machine which by default tries to open all text files.
afaik all browsers should by default open .txt files within the browser window - unless told to do otherwise.

The puzzling thing is that yours works like a charm...
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32035
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats webserver - Custom Interface
« Reply #136 on: June 07, 2019, 02:00:37 PM »

I've been doing a wee bit of googling and the recommended method is using a frame.   See here.   My script should not see any of the awkward scrolling as mentioned by Madara Uchiha as I'd already added params to stop that problem.  There is an additional parameter "seamless" you could try,  but this only works in html5

Failing that,  if you run PHP there is a script which forces txt files to be output within the main html
https://www.000webhost.com/forum/t/simple-php-script-to-read-txt-files-and-output-as-html/2933

There may be an equivalent for javascript/ajax
https://stackoverflow.com/questions/13709482/how-to-read-text-file-in-javascript
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

RTouris

  • Member
  • **
  • Posts: 32
Re: DSLstats webserver - Custom Interface
« Reply #137 on: June 09, 2019, 08:50:07 PM »

I've been doing a wee bit of googling and the recommended method is using a frame.   See here.   My script should not see any of the awkward scrolling as mentioned by Madara Uchiha as I'd already added params to stop that problem.  There is an additional parameter "seamless" you could try,  but this only works in html5

Failing that,  if you run PHP there is a script which forces txt files to be output within the main html
https://www.000webhost.com/forum/t/simple-php-script-to-read-txt-files-and-output-as-html/2933

There may be an equivalent for javascript/ajax
https://stackoverflow.com/questions/13709482/how-to-read-text-file-in-javascript

Thanks for the prompt reply and the suggestions.

I'm afraid I haven't had much success with the seamless parameter amongst many other things I tried and seeing that I neither run PHP not have any JS knowledge I'm afraid there's not much i can pursue on this front..I can only hope that DSLstats gets updated at some point in the future to also include a dynamic html output of pbparams (instead of txt only) to get this sorted properly.
Logged
Pages: 1 ... 8 9 [10]