Permalink
Browse files

fix

  • Loading branch information...
1 parent 1068fb9 commit c15ad0bf002a7d59fcbb8b2109b540a9d5ad6f16 @horejsek horejsek committed Nov 17, 2011
Showing with 7 additions and 1 deletion.
  1. +6 −0 javascript/contentscript.js
  2. +1 −1 manifest.json
View
6 javascript/contentscript.js
@@ -4,6 +4,12 @@ var GCInjector = new function () {
this.GS = false;
window.onload = function () {
+ // I don't know why, but this fix problem (90 %).
+ var date = new Date();
+ do {
+ curDate = new Date();
+ } while (curDate-date < 1000);
+
self.GS = this.GS;
}
View
2 manifest.json
@@ -1,6 +1,6 @@
{
"name": "Grooveshark Control",
- "version": "1.10.1",
+ "version": "1.10.2",
"description": "__MSG_extDescription__",

0 comments on commit c15ad0b

Please sign in to comment.