脚本实现表单提交账号和密码_带有提交Favelet的脚本和样式更新

脚本实现表单提交账号和密码

It's been six months and some change since the launch of Script & Style and the website is doing extremely well. Traffic continues to rise, our RSS feed subscriber count is close to 4,000, the submissions continue to be quality, and we're slowly adding new features to the site. We've recently taken some time to revamp the website to continue its growth.

Script&Style推出以来已经过去了六个月,并且发生了一些变化,并且网站的运行情况非常好。 流量持续增长,我们的RSS feed订阅人数接近4,000,提交的质量仍然很高,并且我们正在缓慢地向网站添加新功能。 我们最近花了一些时间对网站进行改版以继续发展。

Click here to read Chris Coyier's article with regard to the site redesign.

单击此处以阅读Chris Coyier的有关网站重新设计的文章。

The newest code snippet we've added to enhance your S&S experience is a submission favelet/bookmarklet. This new favelet allows you to quickly submit the article you're reading, no matter what the source, to Script & Style. All you need to do is select/highlight the text you'd like to act as the article description and click the favelet. A new window will appear with the submission screen already filled out for you!

我们添加来增强您的S&S体验的最新代码段是提交收藏夹/书签。 这个新的小工具使您可以快速将正在阅读的文章(无论其来源如何)提交给Script&Style。 您需要做的就是选择/突出显示您要用作文章描述的文本,然后单击收藏夹。 将出现一个新窗口,已为您填写了提交屏幕!

Favelet代码 (The Favelet Code)


//favelet modified from:  http://cubicle17.com/post/32941821/bookmarklet-search-netflix
(function()%7Bvar%20d=document,w=window,ds=d.getSelection,ws=w.getSelection,ss=d.selection,e=encodeURIComponent;t=(ws)%3Fws():(ds)%3Fds():(ss)%3Fss.createRange().text:'';t=(t.toString().length)%3Ft:prompt('Please select article description text.','');if(t)%7Ba='http://www.scriptandstyle.com/submit%3Ftitle=' + e(document.title) + '%26url=' + e(window.location) + '%26content=';u=a+e(t);f=function()%7Bx=w.open(u,'nfx','scrollbars=1,toolbar=0,resizable=1,status=1,width=600,height=600');if(!x)w.location.href=u;%7D;if(/Firefox/.test(navigator.userAgent))setTimeout(f,0);else%20f();%7D%7D)();


Don't worry about the mess of code. All you need to do is drag the link to your "favorites" toolbar and it will work on any site you visit!

不用担心代码混乱。 您所要做的就是将链接拖动到“收藏夹”工具栏上,它将在您访问的任何网站上都可以使用!

Jump on over to Script & Style to check out the new look and be sure to grab the Script & Style favelet!

跳转到“ 脚本和样式”以查看新外观,并确保抓住“ 脚本和样式”收藏夹 !

翻译自: https://davidwalsh.name/script-style-favelet

脚本实现表单提交账号和密码

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值