Y
Hacker News
new
|
ask
|
show
|
jobs
by
jwilk
2911 days ago
I looked at the source, and to be frank, it's awful:
var newUrl = details.url.replace('.m.', '.').replace('/m.', '/').replace('/mobile.', '/');
This could easily break legitimate URLs.
1 comments
L_226
2908 days ago
I absolutely agree, I'm not a JS developer. One day I'll fix it...
link