On Monday, 1 October 2012 at 19:39:35 UTC, Piotr Szturmaj wrote:
Mr. Anonymous wrote:
OK, I looked at it, and I saw that the links are generated by
javascript.
So I decided to try and write a better javascript function for
creating
links.
Here's what I came up with:
The JS code: http://pastebin.com/Pz4fb4JR
Screenshots: http://i.imgur.com/gwxrI.png,
http://i.imgur.com/qGGQn.png
As you can see, the code works for both the website html and
the one
bundled with dmd.
If my function finds nothing, it falls back to it's old
version of
anchor list.
This solution is quite bad and temporary, but what we have now
is not
much better, so, for a while, I think it's worth using.
I've also tried to improve it:
http://forum.dlang.org/thread/[email protected]
But I think that top positioned index is bad. It should be on
the left, or the right pane.
Why hasn't it been integrated?
I guess the reason is that everybody says "that's not a solution,
we have to fix x and y", but nobody actually fixes that stuff,
and the reality is that we're left with an unusable list of
anchored SEO-spam links for years.
That's why I did the change as simple as possible - it should
take no more than a minute to replace the function.
P.S. can somebody create a pull request for this at github? I'm
not familiar with this stuff.