Uncaught SyntaxError: missing ) after argument list (blogger)

I have a website in blogger : www.watiqati.net

When I use inspect element in Chrome I see this error:

Uncaught SyntaxError: missing ) after argument list

problem

this is the code :

};
_0x5efbx0["html"](_0x5efbx9)
}
, complete: function () {
    $(".cover .Post:not(:first)")["addClass"]("cov");
    $(".sided:eq(1) .Post:not(:first) .Snippet, .sided:eq(0) .Post:not(:first) .Snippet")["remove"]();
    $(".broadcast")["each"](function () {
        $(this)["find"](".current:not(:first)")["remove"]()
    })
}
})
} else {
    _0x5efbx0["parent"]()["remove"]()
}
});
$(document)["ajaxStop"](function () {
    $(".broadcast")["each"](function () {
        var _0x5efbx1a = 0;
        var _0x5efbx1b;
        var _0x5efbx1c;
        var _0x5efbx1d = $(this);

I don't know what to do. I tried deleting to add , ; { } ( ) the same problem.

1 answer

  • answered 2018-02-13 02:01 Steve

    I'm going to go out on a limb here and say that the ELSE shouldn't even be there. When you strip everything out of your AJAX success and complete methods your code looks like this:

    $(function () {
    
       $["ajax"]({
         url: _0x5efbx2
         , method: "GET"
         , dataType: "jsonp"
         , success: function (_0x5efbx8) {
    
        }
        , complete: function () {
    
        }
     })
     } else {
        _0x5efbx0["parent"]()["remove"]()
     }
    });
    

    But that is only after removing a giant chunk of code so who really knows...