javascript:在iframe src中有什么作用?

Sla*_*lay 0 php iframe jquery frameset-iframe

   <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
Run Code Online (Sandbox Code Playgroud)

我想问一下iframe src中"javascript:"的作用是什么?我在Web应用程序中遇到了这段代码.

基本上,我喜欢的是他们通过iframe加载正文内容 - >就像google正在做的那样.javascript:是否起着重要作用?

例如http://www.webapplication.com/#Dashboard:142 从dashboard.php/142加载内容是userid

例如http://www.webapplication.com/#settings:142 来自settings.php/142的加载内容是userid

Gre*_*ack 5

javascript:'' 
Run Code Online (Sandbox Code Playgroud)

什么都不做,它被用作填充物.有些使用about:blank,或者只是一个空文件,这是另一种方式.