Dear visitor, welcome to OGame.Origin.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Main browser and extension issues/problems
Dear tool devs,
Please report here known issues / problems with the browser and extensions like Greasemonky / Scriptish / Tampermonkey.
Firefox Greasemonkey:
- GM 0.9.19 - Problems with AJAX requests -> Update to 0.9.20
Chrome Tampermonky:
- Problems (better: own handling) with handling several windows objects.
-- window.parent.xxx -> unsafeTop.xxx
-- top / self / .... -> window.top / window.self / ....
- Other browsers CAN'T handle those objects, FF and Opera stops when you try to check "unsafeTop" etc
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if (document.location.href.indexOf("page=overview") != -1) {
function foo() {
alert("1");
}
}
if (document.location.href.indexOf("page=galaxy") != -1) {
function foo() {
alert("2");
}
}
foo();
|
on the overview page this will alert "1" on Firefox, and "2" on Chrome and Opera
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if (document.location.href.indexOf("page=overview") != -1) {
var foo = function() {
alert("1");
}
}
if (document.location.href.indexOf("page=galaxy") != -1) {
var foo = function() {
alert("2");
}
}
foo();
|
this will alert "1" on the overview page and "2" on the galaxy view for the 3 browsers (as expected)