andypku
非常火狐
非常火狐
  • UID23097
  • 注册日期2008-03-05
  • 最后登录2022-08-20
  • 发帖数865
  • 经验740枚
  • 威望0点
  • 贡献值790点
  • 好评度26点
  • 社区居民
  • 忠实会员
阅读:1617回复:3

有开心网转帖组件吗?

楼主#
更多 发布于:2010-11-07 08:42
我找了很久很久,都没有找到。快速转帖的功能都没找到。
我想本论坛的人是不是对开心网比较鄙视还是什么的,不过我还是想知道,到底有存在这个东西吗?
caoyue
火狐狸
火狐狸
  • UID33966
  • 注册日期2010-09-12
  • 最后登录2016-04-02
  • 发帖数144
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
1楼#
发布于:2010-11-07 08:42
到书签栏新建一个书签,名称随便,比如“开心转帖”,地址一栏填入上面的代码,保存。
然后在你需要转帖的页面点一下那个书签就ok了
andypku
非常火狐
非常火狐
  • UID23097
  • 注册日期2008-03-05
  • 最后登录2022-08-20
  • 发帖数865
  • 经验740枚
  • 威望0点
  • 贡献值790点
  • 好评度26点
  • 社区居民
  • 忠实会员
2楼#
发布于:2010-11-07 08:42
caoyue:kaixin001?
官方有转帖bookmarklet的吧?
转帖->我要转帖,看右边
还是直接贴给你算了
javascript:function%20openPostWindow(url,data,name){var%20tempForm=document.createElement('form');tempForm.id='tempForm1';tempForm.method='post';tempForm.action=url;tempForm.target='kaixin001';var%20hideInput=document.createElement('input');hideInput.type='hidden';hideInput.name='rcontent';hideInput.value=data;tempForm.appendChild(hideInput);document.body.appendChild(tempForm);tempForm.submit();document.body.removeChild(tempForm)}function%20add2Kaixin001(){var%20u=document.location.href;var%20t=document.title;var%20c=''+(document.getSelection?document.getSelection():document.selection.createRange().text);var%20iframec='';var%20url='http://www.kaixin001.com/repaste/bshare.php?rtitle='+encodeURIComponent(t)+'&rurl='+encodeURIComponent(u)+'&from=maxthon';var%20data=encodeURIComponent(c);openPostWindow(url,c,'_blank')}add2Kaixin001();
回到原帖


这个怎么用啊?
caoyue
火狐狸
火狐狸
  • UID33966
  • 注册日期2010-09-12
  • 最后登录2016-04-02
  • 发帖数144
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
3楼#
发布于:2010-11-07 08:42
kaixin001?
官方有转帖bookmarklet的吧?
转帖->我要转帖,看右边
还是直接贴给你算了
javascript:function%20openPostWindow(url,data,name){var%20tempForm=document.createElement('form');tempForm.id='tempForm1';tempForm.method='post';tempForm.action=url;tempForm.target='kaixin001';var%20hideInput=document.createElement('input');hideInput.type='hidden';hideInput.name='rcontent';hideInput.value=data;tempForm.appendChild(hideInput);document.body.appendChild(tempForm);tempForm.submit();document.body.removeChild(tempForm)}function%20add2Kaixin001(){var%20u=document.location.href;var%20t=document.title;var%20c=''+(document.getSelection?document.getSelection():document.selection.createRange().text);var%20iframec='';var%20url='http://www.kaixin001.com/repaste/bshare.php?rtitle='+encodeURIComponent(t)+'&rurl='+encodeURIComponent(u)+'&from=maxthon';var%20data=encodeURIComponent(c);openPostWindow(url,c,'_blank')}add2Kaixin001();
游客

返回顶部