fake-link is a tiny library to move a link from a meaningful element to a container for SEO purposes.

Documentation

Examples

Replace HTML element by a link


    

    Link
            

Mute a link to a h3 title


    Not a link for user

    

Not a link for user

Move a link to a full clickable card


    

    
        

Post title

Read more

Attach event listener after replace tag and reload fake-link after DOM append


    Add link

    
            

Preserve attributes and remove not allowed


    
Read more
Read more
Read more