You shouldn't be replacing the normal context menu unless there is a very good reason for doing so (perhaps something like a text formatting contextual menu in Google Docs). There is an expectation from users about what a right-click (or whatever gesture they used to invoke the context menu) should do. Weird, non-standard stuff like a page navigation really should not be here - it will only serve to annoy and confuse the user.
That said, there's nothing technically wrong here - you might just want to revise your example with a better UI use case.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You shouldn't be replacing the normal context menu unless there is a very good reason for doing so (perhaps something like a text formatting contextual menu in Google Docs). There is an expectation from users about what a right-click (or whatever gesture they used to invoke the context menu) should do. Weird, non-standard stuff like a page navigation really should not be here - it will only serve to annoy and confuse the user.
That said, there's nothing technically wrong here - you might just want to revise your example with a better UI use case.