On 25 January 2013 17:26, Warren Block <[email protected]> wrote: > On Fri, 25 Jan 2013, Lex Trotman wrote: > >> On 25 January 2013 16:08, Warren Block <[email protected]> wrote: >>> >>> A user of Konqueror from KDE 3.5.10 reports that the links are generated >>> in >>> an endless loop. Is it possible to easily disable the JS TOC for certain >>> buggy browsers? >> >> >> The toc is only generated if the toc attribute is defined, so just >> remove that definition. > > > If the choice is to lose the TOC entirely or have it do bad things on > relatively rare browsers, I'd rather keep it. But hopefully a JS mod to > identify a specific browser and disable the TOC in just that case will work. >
Oh, you want to try to be smart :) Well, someone Javascript competent might be able to do that, but then again, as I understand it many browsers lie about who they are, so it might not work. And even if browsers provide the right info, keeping a list of specific browsers and versions up to date would be a maintenance nightmare. Asciidoc has only just gotten out of the ie6 quirks era, we don't want to get back into browser specific stuff again. Cheers Lex > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
