Skip to content

Instantly share code, notes, and snippets.

@summivox
Created January 7, 2013 14:03
Show Gist options
  • Save summivox/4475204 to your computer and use it in GitHub Desktop.
Save summivox/4475204 to your computer and use it in GitHub Desktop.
用Evernote Clipper的时候,总是要手工复制粘贴标题(否则就都是“人人网 - 分享日志”之类的,不方便查找管理)。用这个userscript就可以解决了(顺便在tab栏里也会醒目一些)
// ==UserScript==
// @name renren-share-title
// @namespace http://github.com/smilekzs
// @version 0.1.0
// @description add title to renren blog share page (for Evernote Clipper)
// @include *blog.renren.com/share*
// ==/UserScript==
document.title=document.querySelector('.title-article > strong').innerHTML+' from '+document.querySelector('.title-article a').innerHTML.match('(.*)的日志')[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment