Skip to content

egermano/twitter-highlights-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Highlights

A JavaScript code to parse and highlight urls, usernames and hashtags to twitter.

Usage

Non jquery use:

	// get a twitter content
	var text = document.getElementById('tweet1').innerHTML;

	//parse a content
	document.getElementById('tweets').innerHTML = text.parseURL().parseHashtag().parseUsername();

With jquery:

	// get a twitter content
	$('.tweets').twitterParsing();

About

Highlights a usernames, hashtags and links using JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published