Skip to content

Find unsuscribe button does not guarantee the best solution #2

Description

@jofaval

It returns the first result, but even then, what happens if, instead of a hardcoded link, it's a description that indicates that the next link it's going to be the unsuscribe one.

Proposed solution

The search of the unsubscribe button of a newsletter by mail, should actually search recursively from the document.body, until reaching the element, or the elements closer to, whichever may be the unsuscribe link, would be an idea, but it is not necessarily reliable nor does it guarantee a good/wanted result.

Another alternative may be to simply look at the URL, but some advanced newsletters may be using URL ofuscation or shortening, which would ruin the idea, as URLs do not necessarily have to be user-friendly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions