MyDash: rework workaround for compatibility with 3.14 and 3.14.1.

This way improve other extensions interoperability, as the method is not copied
and pasted anymore.
dash-to-dock@micxgx.gmail.com_itp_version_8August_2014.zip