mdpr.jp - see bug description
URL: http://mdpr.jp Browser / Version: Firefox 37.0.2 Operating System: Android Problem type: Something else - I'll add details below
Steps to Reproduce
- Navigate to: http://mdpr.jp
- …
Expected Behavior: There should be menu and Ad displayed in the bottom of the windows.
Actual Behavior: Menu and Ad are not displayed. See screenshots. Country: jp
Firefox, No menu and Ads

With Chrome, there is a menu and Ad in the bottom of the screen.

There are additional issues.
on iOS, there is a pink menu which is appearing on the right side when scrolling up at body > div.ui-page.ui-page-theme-a.ui-page-header-fixed.ui-page-active > div.pagetop.overray This is controlled by
function scrollCheck(){var now=$('body').scrollTop();if(now>0) $('.pagetop').fadeIn(1000);else $('.pagetop').fadeOut(500);}
$.extend($.lazyLoadXT,{edgeY:300});
$(function(){$(document).on('scrollstop',function(event){scrollCheck();});
$('.pagetop a.scrollto').click(function(){$('html,body').animate({scrollTop:0},'slow');return false;});
$('.header-logo,.footer-logo').click(function(){location.href='/';return false;});
$('.footer-logo-travel').click(function(){window.open('http://travel.mdpr.jp');return false;});
$('.footer-logo-celebtimes').click(function(){window.open('http://www.celebtimes.net');return false;});
});
For the ads, the Yahoo! banner has a 320 x 0 size. But I didn't yet why it was not populated.
I don't get Ads in Chrome, but it may be that Yahoo! Japan doesn't bother to send ads to a US IP? edit: Also not getting ads in iOS Safari, so let's ignore that part of the bug.
As for the missing menu, the scrollstop event that @karlcow showed is part of jQuery Mobile. I don't see any open issues in their tracker related to compat problems. I need a remote debugger to better understand.
One of the ad scripts is throwing a TypeError on a.srcElement: http://sh.adingo.jp/?G=1000011366&guid=ON
k: function (a) {
if (null === a.srcElement.offsetParent || 'undefined' === typeof a.srcElement.offsetParent || 'undefined' === typeof a.srcElement.offsetParent.className ||
a.srcElement.offsetParent.id !== this.overlay_id) null !== this.a && (clearTimeout(this.a), this.a = null),
this.show()
},
event.srcElement is a non-standard IE-ism that WebKit implemented. So that might explain the problem (but Chrome and iOS still don't show me ads).
OK:
function scrollCheck(){
var now=$('body').scrollTop();
if(now>0) $('.pagetop').fadeIn(1000);
else $('.pagetop').fadeOut(500);
}
In Firefox, $('body').scrollTop() is always 0.
$(document).scrollTop() will return the correct scroll offset across all browsers, so they could change to that to get the site working.
AFAICT, per spec, $('body').scrollTop() should only be non-zero for quirks mode documents. So it seems like the site is just doing something that works in webkit browsers. The recommended fix is to call scrollTop on $(document).
mdpr aka modelpress belongs to Netnative. They basically run three people sites. The director is 松下 佳憲. It seems there are cooperating with Syngula for the sites.
One of the contact address is [email protected]
Let's try.
9 days later still no answer. We should try to find another contact. I'm switching back to needscontact.
I will try with the first email on http://net-native.net/contact/c_modelpress/ but I think we still need to find a human contact if possible. I have the feeling the site is not created by them, but probably by an agency. Maybe.
Shared this report with their developers.
Model Press fixed the issue caused by $('body').scrollTop(), which was mentioned at https://github.com/webcompat/web-bugs/issues/1090#issuecomment-101323945
ok this is fixed. We need now to fix #1264
Thanks to mdpr and @chikoski !! :v: