Thread:Extension talk:Favorites/Ajax (un)favorite action without page reload like (un)watch

Would it be possible to (un)favroite pages like the watch feature? It uses inline ajax and doesn't require a landing page so the user stays on the page.