Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JBsea

macrumors newbie
Original poster
Jan 25, 2012
17
0
On my website, the iOS Safari URL bar delays (hangs around) for approx 5 secs longer when the "Reader" appears in the bar. I've tried several failed suggestions on how to work around this annoyance which cuts off a good 40px or so from the top of my site: test.acousticnoodles.net

Does anyone know any HTML, CSS, or JS code for stopping the iOS Safari URL bar from hiding the top of my website (or, I guess, in other words, disabling the "Reader"?)

using iPhone 4, iOS 6.0.1
 

JBsea

macrumors newbie
Original poster
Jan 25, 2012
17
0
temporary fix

So, I have a temporary JavaScript fix: innerHTML inside a setTimeout() function:

HTML
<div id="aboutMain" class="theRest">
</div>


JS
var d1 = document.getElementById("aboutMain");

setTimeout(function(){d1.innerHTML = '<p class="titleTop">About</p><p><em>acoustic:</em> relating to or being a musical instrument whose sound is not modified electrically</p><br/ >';
d1.className="theRest";},1000);


Let me know if you come across anything that works better.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.