Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > FireFox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-24-2008, 07:43 AM
V S Rawat
 
Posts: n/a
How to see number of current lines and total num of lines in thecurrently displayed page

How to see number of current lines and total num of lines in the
currently displayed page?

Also, even the no. of character that we are on, and total character on
that line?

--
V
Reply With Quote
  #2 (permalink)  
Old 07-29-2008, 03:41 AM
LK
 
Posts: n/a
Re: How to see number of current lines and total num of lines in thecurrently displayed page

On Jul 24, 1:43 am, V S Rawat <vsra...@gmail.com> wrote:
> How to see number of current lines and total num of lines in the
> currently displayed page?
>
> Also, even the no. of character that we are on, and total character on
> that line?


Personally, I would go Select All and then paste all the text into
something like MS Word, or Notepad. I guess there's also View Source.

Why is it so important to know things like this so closely on a
webpage? :/
Reply With Quote
  #3 (permalink)  
Old 07-29-2008, 09:48 AM
V S Rawat
 
Posts: n/a
Re: How to see number of current lines and total num of lines inthe currently displayed page

On 7/29/2008 9:11 AM India Time, _LK_ wrote:

> On Jul 24, 1:43 am, V S Rawat <vsra...@gmail.com> wrote:
>> How to see number of current lines and total num of lines in the
>> currently displayed page?
>>
>> Also, even the no. of character that we are on, and total character on
>> that line?

>
> Personally, I would go Select All and then paste all the text into
> something like MS Word, or Notepad. I guess there's also View Source.
>
> Why is it so important to know things like this so closely on a
> webpage? :/



Several websites list their data on webpages. like Who-is website. If I
am doing some work on that data, it is necessary to know the volume of
data that is there. A number of lines would help in knowing the volume
in such cases.

and if you are on some particular line on a page, say downloading mp3
from a long list of downloads, and it takes time while that gets
downloaded and then you start downloading the next one, in such a case,
meanwhile you can go to check the other entries on that page, and come
back to the line number that you were at.

And, then, downloading an html table to excel, we should know the number
of rows that we should allot in excel.

so on.
--

So, I think we should not only have line num, column/ character no.
display in firefox, but we need option to go to a particular line/
column/ character.
--
V

Reply With Quote
  #4 (permalink)  
Old 07-29-2008, 10:05 AM
Sanjeet Sodhi
 
Posts: n/a
Re: How to see number of current lines and total num of lines in thecurrently displayed page

For tabular data, could you not simply count the rows with in Javascript?

If you were working with the same format of data continually, then
scripting it in Greasemonkey would be a reasonable investment of
time.

On Tue, Jul 29, 2008 at 5:48 AM, V S Rawat <vsrawat@gmail.com> wrote:
> On 7/29/2008 9:11 AM India Time, _LK_ wrote:
>
>> On Jul 24, 1:43 am, V S Rawat <vsra...@gmail.com> wrote:
>>> How to see number of current lines and total num of lines in the
>>> currently displayed page?
>>>
>>> Also, even the no. of character that we are on, and total character on
>>> that line?

>>
>> Personally, I would go Select All and then paste all the text into
>> something like MS Word, or Notepad. I guess there's also View Source.
>>
>> Why is it so important to know things like this so closely on a
>> webpage? :/

>
>
> Several websites list their data on webpages. like Who-is website. If I
> am doing some work on that data, it is necessary to know the volume of
> data that is there. A number of lines would help in knowing the volume
> in such cases.
>
> and if you are on some particular line on a page, say downloading mp3
> from a long list of downloads, and it takes time while that gets
> downloaded and then you start downloading the next one, in such a case,
> meanwhile you can go to check the other entries on that page, and come
> back to the line number that you were at.
>
> And, then, downloading an html table to excel, we should know the number
> of rows that we should allot in excel.
>
> so on.
> --
>
> So, I think we should not only have line num, column/ character no.
> display in firefox, but we need option to go to a particular line/
> column/ character.
> --
> V
>
> _______________________________________________
> support-firefox mailing list
> support-firefox@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-firefox
> To unsubscribe, send an email to support-firefox-request@lists.mozilla.org?subject=unsubscribe
>

Reply With Quote
  #5 (permalink)  
Old 07-29-2008, 11:26 AM
David McRitchie
 
Posts: n/a
Re: How to see number of current lines and total num of lines in thecurrently displayed page

"Sanjeet Sodhi" ...
>>>> How to see number of current lines and total num of lines in the
>>>> currently displayed page?

>> So, I think we should not only have line num, column/ character no.
>> display in firefox, but we need option to go to a particular line/
>> column/ character.


Well attempting to answer the original question:
Seems to me number of lines is rather meaningless in HTML. You can
count number of words in selection/page (ext/bookmarklet), or number
of printed pages for the web page (print preview).

Word Count Plus :: Firefox Add-ons [experimental]
https://addons.mozilla.org/en-US/firefox/addon/4718
http://wordcountplus.mozdev.org/ (no login needed)

Steve Minutillo :: messy-78 » Word count bookmarklet
http://minutillo.com/steve/weblog/20...nt-bookmarklet

But it turns out that is not at all what you are interested in. You want to
get to a specific point and that is what id tags (fragment-id) are for, but
not all pages use them and you have to use code or an extension to see
the id's. But there is another way and that is to display a document outline.
There are many available but I like this one activated in sidebar with Alt+O (letter).

"Document Map" 0.6.1 (20KB) extension by James Graham
Displays the current page's heading structure in the sidebar, allowing rapid
navigation between...
https://addons.mozilla.org/firefox/475

Since it is marked as not updated, click of the view all versions and get it from
there. So you will have to have compatibility testing set to false in order to
install and use.

--
HTH,
David McRitchie, ***extensions I use are briefly documented on my site***
Firefox Custom: http://www.mvps.org/dmcritchie/firefox/firefox.htm





Reply With Quote
  #6 (permalink)  
Old 07-30-2008, 07:13 AM
V S Rawat
 
Posts: n/a
Re: How to see number of current lines and total num of lines inthe currently displayed page

On 7/29/2008 3:35 PM India Time, _Sanjeet Sodhi_ wrote:

> For tabular data, could you not simply count the rows with in Javascript?
>
> If you were working with the same format of data continually, then
> scripting it in Greasemonkey would be a reasonable investment of
> time.


have a look at this wiki page (that I had updated for my fav MD).

http://en.wikipedia.org/wiki/A._R._R...cography#Songs

See this songs table, and the table above that. That is the primary
reason I wanted to know if someone wanted to know how many songs has he
composed, how would they find out. I couldn't it.

most of the visitors would not know about javascript/ gm to find it out,
even if some ready gm script exists at places. for me, instead of
developing a script, I can just copy that part and take it to some
editor or excel and would find it out. but of course, it is not that
easy in all places.

FF giving the current positioning would make it easy.

--
V

>
> On Tue, Jul 29, 2008 at 5:48 AM, V S Rawat <vsrawat@gmail.com> wrote:
>> On 7/29/2008 9:11 AM India Time, _LK_ wrote:
>>
>>> On Jul 24, 1:43 am, V S Rawat <vsra...@gmail.com> wrote:
>>>> How to see number of current lines and total num of lines in the
>>>> currently displayed page?
>>>>
>>>> Also, even the no. of character that we are on, and total character on
>>>> that line?
>>> Personally, I would go Select All and then paste all the text into
>>> something like MS Word, or Notepad. I guess there's also View Source.
>>>
>>> Why is it so important to know things like this so closely on a
>>> webpage? :/

>>
>> Several websites list their data on webpages. like Who-is website. If I
>> am doing some work on that data, it is necessary to know the volume of
>> data that is there. A number of lines would help in knowing the volume
>> in such cases.
>>
>> and if you are on some particular line on a page, say downloading mp3
>> from a long list of downloads, and it takes time while that gets
>> downloaded and then you start downloading the next one, in such a case,
>> meanwhile you can go to check the other entries on that page, and come
>> back to the line number that you were at.
>>
>> And, then, downloading an html table to excel, we should know the number
>> of rows that we should allot in excel.
>>
>> so on.
>> --
>>
>> So, I think we should not only have line num, column/ character no.
>> display in firefox, but we need option to go to a particular line/
>> column/ character.
>> --
>> V


Reply With Quote
  #7 (permalink)  
Old 07-30-2008, 07:26 AM
V S Rawat
 
Posts: n/a
Re: How to see number of current lines and total num of lines inthecurrently displayed page

On 7/29/2008 4:56 PM India Time, _David McRitchie_ wrote:

> "Sanjeet Sodhi" ...
>>>>> How to see number of current lines and total num of lines in the
>>>>> currently displayed page?
>>> So, I think we should not only have line num, column/ character no.
>>> display in firefox, but we need option to go to a particular line/
>>> column/ character.

>
> Well attempting to answer the original question:
> Seems to me number of lines is rather meaningless in HTML. You can
> count number of words in selection/page (ext/bookmarklet), or number
> of printed pages for the web page (print preview).
>
> Word Count Plus :: Firefox Add-ons [experimental]
> https://addons.mozilla.org/en-US/firefox/addon/4718
> http://wordcountplus.mozdev.org/ (no login needed)
>
> Steve Minutillo :: messy-78 » Word count bookmarklet
> http://minutillo.com/steve/weblog/20...nt-bookmarklet
>
> But it turns out that is not at all what you are interested in. You want to
> get to a specific point and that is what id tags (fragment-id) are for, but
> not all pages use them and you have to use code or an extension to see
> the id's. But there is another way and that is to display a document outline.
> There are many available but I like this one activated in sidebar with Alt+O (letter).
>
> "Document Map" 0.6.1 (20KB) extension by James Graham
> Displays the current page's heading structure in the sidebar, allowing rapid
> navigation between...
> https://addons.mozilla.org/firefox/475
>
> Since it is marked as not updated, click of the view all versions and get it from
> there. So you will have to have compatibility testing set to false in order to
> install and use.
>


yeah, I could install it in ff3.

Though it is not what i was looking for, it is indeed quite useful in
seeing the page structure in a sidebar and then clicking on a like in
that sidebar takes me directly to that position in page. Makes browsing
of long pages very easy.

thanks for the tip.

If the author is reading this, please update this extension and add more
features. One great feature to add would be to allow us to copy the
entries from the sidebar to save somewhere, may be show line nums with
each entry, may be make it clickable link (it already is).

thanks.
--
V
Reply With Quote
  #8 (permalink)  
Old 07-30-2008, 03:15 PM
David McRitchie
 
Posts: n/a
Re: How to see number of current lines and total num of lines in thecurrently displayed page

"V S Rawat" ...
> David McRitchie_ wrote:
>> "Document Map" 0.6.1 (20KB) extension by James Graham
>> Displays the current page's heading structure in the sidebar, allowing rapid
>> navigation between...
>> https://addons.mozilla.org/firefox/475

>
> If the author is reading this, please update this extension and add more
> features. One great feature to add would be to allow us to copy the
> entries from the sidebar to save somewhere, may be show line nums with
> each entry, may be make it clickable link (it already is).


Mentioning line numbers again; where in Firefox do you see any mention
of line numbers, they are meaningless. In fact even if you meant source line
numbers, you won't get agreement between listings of source of same page.

The list is created on the fly, from heading levels, there are no actual HTML links,
in fact most people aren't even using id="xx" so you can link to a specific heading,
please don't ask for more features to make a great extension become bloated and useless.

Yes the author should update the version number, even though I think it is
nonsense if nothing was changed in Firefox to make it not work. Changes have been made
to make it easier for the author to simply update the version, but I'm sure the process
will change when more authors of the best extensions are no longer around. Really
more of a Firefox issue than an author issue. You use all kind of ancient applications
including command line instructions and even though operating system has changed
the old things still work as long as they did not violate interfaces.

Reply With Quote
  #9 (permalink)  
Old 07-31-2008, 08:17 AM
V S Rawat
 
Posts: n/a
Re: How to see number of current lines and total num of lines inthecurrently displayed page

On 7/30/2008 8:45 PM India Time, _David McRitchie_ wrote:

> "V S Rawat" ...
>> David McRitchie_ wrote:
>>> "Document Map" 0.6.1 (20KB) extension by James Graham
>>> Displays the current page's heading structure in the sidebar, allowing rapid
>>> navigation between...
>>> https://addons.mozilla.org/firefox/475

>> If the author is reading this, please update this extension and add more
>> features. One great feature to add would be to allow us to copy the
>> entries from the sidebar to save somewhere, may be show line nums with
>> each entry, may be make it clickable link (it already is).

>
> Mentioning line numbers again; where in Firefox do you see any mention
> of line numbers, they are meaningless. In fact even if you meant source line
> numbers, you won't get agreement between listings of source of same page.


I have no reason to bother about what is in the source.

FF can just have some method of displaying a line num on each line of
the displayed page. It need not affect the source.

Just like MS Word and various text-html-script editors have an option to
just display a line num at the start of every line. it doesn't go in the
actual text/ html/ script.

>
> The list is created on the fly, from heading levels, there are no actual HTML links,
> in fact most people aren't even using id="xx" so you can link to a specific heading,
> please don't ask for more features to make a great extension become bloated and useless.


It wouldn't.

>
> Yes the author should update the version number, even though I think it is
> nonsense if nothing was changed in Firefox to make it not work. Changes have been made
> to make it easier for the author to simply update the version, but I'm sure the process
> will change when more authors of the best extensions are no longer around. Really
> more of a Firefox issue than an author issue. You use all kind of ancient applications
> including command line instructions and even though operating system has changed
> the old things still work as long as they did not violate interfaces.
>


I have compatibility switched off, so my ff gives me option to Force
Install.

I agree with you that it is more of a ff issue than extension authors'
issue. ff should evolve method to see whether an extension is altering
some code beyond its scope and should just allow if it doesn't. then the
extension "valid for such and such version" would not be required.

Also, ff should allow other persons to upload the revisions of
extensions as long as it just involves changing the version number.
Maybe ff could authorized selected users on some criteria to do that.

It was a very fine point that extension authors are not immortal. And
several loose interest in their extensions, several get occupied in
something else. ff developers should think of a way to take care of such
eventuality.
--
V
Reply With Quote
  #10 (permalink)  
Old 07-31-2008, 02:02 PM
David McRitchie
 
Posts: n/a
Re: How to see number of current lines and total num of lines in thecurrently displayed page

"V S Rawat"
> Just like MS Word and various text-html-script editors have an option to
> just display a line num at the start of every line. it doesn't go in the
> actual text/ html/ script.


That applies to a hardened printable copy of a MS Word document.

How does that apply to an HTML document. If you change anything
your line numbers would be different. Name any browser that shows
line numbers, it is not part of html, sure you could take an HTML document
and place line breaks and permanent line numbers and use HTML to display
that document, but that would not be the original, nor a normal HTML document..

With hard line breaks, your document might wrap lines but the actual line number
would have to be part of the document. I can guarantee that none of my
web pages have such line numbers included for display output, and I doubt
that any significant quantity of HTML documentation exists that is not done
for legal purposes and as such would be subject to severe restrictions on changes.

What you see is dependent on:
- width of window
- font and size, foundry of font, operating system
if you had a Mac you could control kerning yourself
- print driver, and they control what you see on screen
- margins
- zoom level


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > FireFox


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:35 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Mortgages | Mortgage | File Sharing & Mirroring | Credit Card Consolidation | MPAA



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109