Re: shebang URL hash - #!

Thorsten Glaser <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
Klaus-Peter Wegge dixit:

> #! is called the shebang URL hash, used to hint to search engines that

There’s no such thing as a “shebang hash”. This is simply a hash
that starts with an exclamation mark.

Normally, a hash in an URI (scheme:authority/path?query#hash) would
be resolved by a webbrowser by scrolling to the position of element
with the corresponding identifier (used to be <a name="hash"> but
for a while, any element with id="hash" attribute could be used, and
a name=… was removed from the standard).

> this site is using Ajax to display another page.

AJAX means “asynchronous JavaScript and XML”. Merkste selbst, ne? ☻
(sorry, this is rather idiomatic)

> href="https://docs.din.de/din-documents/ui/#!/doc/default/9637d154-ffae-4b40-97c1-7274b6faa837?p=din-email-docs-page">Komprimieren

This simply means, to normal webbrowsers, to scroll to an element with
id="!/doc/default/9637d154-ffae-4b40-97c1-7274b6faa837?p=din-email-docs-page"
(which is probably invalid XML).

ECMAscript client-side code can intercept this (window.location.hash)
and do other things with it, but that requires a full DOM and ECMAscript
implementation, which I’m thankful for lynx not to have.

bye,
//mirabilos
-- 
>> Why don't you use JavaScript? I also don't like enabling JavaScript in
> Because I use lynx as browser.
+1
	-- Octavio Alvarez, me and ⡍⠁⠗⠊⠕ (Mario Lang) on debian-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.