Created
August 20, 2013 16:26
-
-
Save yhsiang/6283778 to your computer and use it in GitHub Desktop.
newshelper-extension content_script.js 新版Timeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 新版Timeline | |
if (!addedAction) { | |
containerNode.parent('._4q_').find('._6p-').find('._5ciy').find('._6j_').each(function(idx, shareAction){ | |
console.log(shareAction); | |
$($('<a class="_5cix"></a>').html(buildActionBar({title: titleText, link: linkHref}))).insertAfter(shareAction); | |
addedAction = true; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment