Apple’s Samsung Apology Statement

As court-ordered, the apology message is on the apple.co.uk homepage, yet Apple’s pulling some JavaScript magic to keep it below the fold:

var HeroResize=AC.Class({initialize:function(b){this._height=null;this._hero=$(b);
AC.Object.synthesize(this);this.__boundResizeHero=this.resizeHero.bindAsEventListener(this);
if(typeof window.ontouchstart==="undefined"){this.resizeHero();Event.observe(window,"resize",this.__boundResizeHero)
}},setHeight:function(b){this._height=(b<0)?0:b;return this._height},resizeHero:function(){this.setHeight(parseInt(window.innerHeight||(window.document.documentElement.clientHeight||window.document.body.clientHeight),10)-310);
this.hero().style.height=this.height()+"px"}});Event.onDOMReady(function(){var b=new HeroResize("billboard")
});

The code resizes the iPad Mini ad so that the apology is not visible on the screen. Here's a screenshot with and without JavaScript enabled:


apple.co.uk - javascript enabled - with hero resize


apple.co.uk - javascript disabled - without hero resize

(via Reddit via Geert)

Major Samsung Galaxy TouchWiz exploit hard resets a device by just visiting a website

A phone dialer code can hard reset a Galaxy S2, S3, and a bunch of minor devices that use Samsung’s TouchWiz overlay. The idea is that the operator could enter it on the keypad manually to hard reset all of the data. However, it was discovered last month that an SMS could carry the number and reset the device (video above). Now, it seems some folks have tried embedding the call function in a web frame with those numbers. They were able to reset the Samsung Galaxy devices just by having the device visit a website.

It’s as easy as including this in your website:

<frame src="tel:*2767*3855%23" />

Samsung is already working on the issue.

Major Samsung Galaxy TouchWiz exploit hard resets a device by just visiting a website →

(via )