Skip to content

error raised with Brave #21

@Grip

Description

@Grip

Hi,
this would be a great app but I cannot make it work (alas with Brave which is the only browser I can use).

When I execute it on my pinterest profile it returns an error:

Image

in the console I see the message/error:

VM245:75  GET https://www.pinterest.com/resource/BoardsResource/get/?data=%7B%22options%22%3A%7B%22username%22%3A%22fabiotavano%22%2C%22field_set_key%22%3A%22detailed%22%7D%7D 403 (Forbidden)
c @ VM245:75
(anonymous) @ VM245:89
(anonymous) @ VM245:113
VM246:1 Uncaught SyntaxError: Unexpected token 'I', "Invalid Re"... is not valid JSON
    at JSON.parse (<anonymous>)
    at Object.apply (<anonymous>:388:39)
    at Object.apply (<anonymous>:787:39)
    at r.onload (<anonymous>:72:123)
apply @ VM12:388
apply @ VM12:787
r.onload @ VM245:72
XMLHttpRequest.send
c @ VM245:75
(anonymous) @ VM245:89
(anonymous) @ VM245:113
[Violation] 'load' handler took 9975ms

and it refers to this piece of code

function c(e, t, o) {
		var r = new XMLHttpRequest;
		r.onload = function() {
			r.status >= 200 && r.status < 300 ? o(JSON.parse(r.responseText)) : (alert("An error has occurred."), console.log(JSON.parse(r.responseText)))
		}, r.open("GET", "/resource/" + e + "Resource/get/?data=" + encodeURIComponent(JSON.stringify({
			options: t
		}))), r.setRequestHeader("X-Requested-With", "XMLHttpRequest"), r.setRequestHeader("Accept", "application/json, text/javascript, */*, q=0.01"), r.send()
	}

Hope it'll help you to find the cause with this issue.

Regards!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions