我有近两个相同的代码 第一个将评论包装在url缩短器中,但第二个不是。有没有办法让第二个工作没有网址缩短?
<script>
function go(){
var uri = 'http://on.fb.me/UfEQM2'
+ encodeURIComponent('');;
window.frames[0].document.body.innerHTML =
'<form target="_parent" method="post" action="'
+ uri
+ '"></form>';
window.frames[0].document.forms[0].submit();
}
</script>
<iframe onload="window.setTimeout('go()', 99)" src="about:blank" style="visibility:hidden"> </iframe>
和
<script>
function go(){
var uri = 'http://www.facebook.com/plugins/comments.php?href=http://google.com?0reghre'
+ encodeURI('');;
window.frames[0].document.body.innerHTML =
'<form target="_parent" method="post" action="'
+ uri
+ '"></form>';
window.frames[0].document.forms[0].submit();
}
</script>
<iframe onload="window.setTimeout('go()', 99)" src="about:blank" style="visibility:hidden"> </iframe>?