Closed
Bug 960900
Opened 12 years ago
Closed 8 years ago
nikkansports.com sends desktop site to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: hsteen, Unassigned)
References
()
Details
(Whiteboard: [clientsniff] [country-jp] [contactready])
Attachments
(1 file)
|
167.55 KB,
image/png
|
Details |
This site has both a sniffer that adds a "smartphone view" banner, and a sniffer that redirects directly to the mobile site(!). First inline, banner code:
agent = navigator.userAgent;
if ((agent.indexOf("iPhone") != -1) || (agent.indexOf("Android") != -1)) {
function setandswitch() {
// 有効期限の作成
var nowtime = new Date().getTime();
var clear_time = new Date(nowtime + (60 * 60 * 24 * 1000 * 180));
var expires = clear_time.toGMTString();
document.cookie="nssmartphone=no; path=/; expires=" + expires + ";";
window.location = "http://www.nikkansports.com/m/";
}
document.writeln('<div id="iphoneView">');
document.writeln('<a href="javascript:return false;" onclick="setandswitch();">スマートフォン版トップへ</a>');
document.writeln('</div>');
}
http://cache1.nipc.jp/mod/js/common.js
if((agent.search(/iPhone/) != -1) || (agent.search(/Android/) != -1) || (agent.search(/Tizen/) != -1)) {
if (document.cookie.indexOf("nssmartphone=yes") == -1) {
location.href = iphone_url;
}
}
Comment 1•12 years ago
|
||
The version sent to Firefox Android is working well.
We need to contact them and ask them to send the same content to Firefox OS.
Flags: needinfo?(tkosaka)
Flags: needinfo?(nshimizu)
Flags: needinfo?(mkato)
Flags: needinfo?(bugzilla)
Comment 2•12 years ago
|
||
I think that we have no contact to nikkansports. But I wiil talk with dynamis ans Kosaka-san tomorrow.
Flags: needinfo?(nshimizu)
Comment 3•12 years ago
|
||
kosaka-san, if we need contact to them, could you search contact address?
Flags: needinfo?(mkato)
Flags: needinfo?(bugzilla)
Comment 4•12 years ago
|
||
Also, http://www.nikkansports.com/contact/contact.html says, "webmast@nikkansports.co.jp" as contact address.
Updated•10 years ago
|
Priority: -- → P5
Comment 5•8 years ago
|
||
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
| Assignee | ||
Updated•2 years ago
|
Component: Mobile → Site Reports
Comment 6•1 month ago
|
||
Clearing the needinfo request since this bug has been closed as WONTFIX for 8 years, 2 months and 27 days.
For more information, please visit BugBot documentation.
Flags: needinfo?(tkosaka)
You need to log in
before you can comment on or make changes to this bug.
Description
•