hi i did a screenshot of my app code
my app block somes bad urls loaded with ajax request
i dont know whats wrong in my app, everytime i launch my app and visit a website
(the app is like a web browser) the app keeps running like in a loop or something and its impossible to close.
so i have to use ctrl+del and then close the app.
what i do in my app is, if the user tries to reach one of the urls inside the "" he get redirected to https://duckduckgo.com/
but maybe its a easier wayf of doing this?
can someone tell me whats wrong in the code??
thanks
https://image.ibb.co/dwoitG/c2_problem.jpg