Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hmm...yes, m.gizmodo.com seems to work, provided you manually remove the '#!' and leave the rest of the URL alone.

In theory if one had a web server running locally, one could add gizmodo.com to /etc/hosts and map it to loopback, then configure said web server to catch gizmodo.com and rewrite the URL to redirect to m.gizmodo.com instead...

Like this perhaps, using Apache's mod_rewrite:

    RewriteCond %{HTTP_HOST}     kotaku\.com$ [NC]
    RewriteCond %{QUERY_STRING}  _escaped_fragment_=(.*)    
    RewriteRule ^/(.*)           http://m.kotaku.com/%1 [L,R=permanant]
edit: hmm, might need this set after the one above, for URLs without _escaped_fragment_:

    RewriteCond %{HTTP_HOST}     kotaku\.com$ [NC]
    RewriteRule ^/(.*)           http://m.kotaku.com/$1 [L,R=permanant]


Easier solution, if you use chrome https://chrome.google.com/webstore/detail/nlknelhingldnlmpgn...

Im sure FF versions exist, and it uses ca.site, so it has the old design.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: