Pinned Main browser and extension issues/problems

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • 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. if (document.location.href.indexOf("page=overview") != -1) {
    2. function foo() {
    3. alert("1");
    4. }
    5. }
    6. if (document.location.href.indexOf("page=galaxy") != -1) {
    7. function foo() {
    8. alert("2");
    9. }
    10. }
    11. foo();
    Display All

    on the overview page this will alert "1" on Firefox, and "2" on Chrome and Opera

    Source Code

    1. if (document.location.href.indexOf("page=overview") != -1) {
    2. var foo = function() {
    3. alert("1");
    4. }
    5. }
    6. if (document.location.href.indexOf("page=galaxy") != -1) {
    7. var foo = function() {
    8. alert("2");
    9. }
    10. }
    11. foo();
    Display All

    this will alert "1" on the overview page and "2" on the galaxy view for the 3 browsers (as expected)