<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
我想问一下“javascript:”在iframe src中做了什么?我在Web应用程序中遇到了这个代码。javascript:在iframe src中做了什么?
基本上,我喜欢的是他们通过iframe加载了body内容 - >就像google正在做的那样。 JavaScript:扮演重要角色吗?
E.g. http://www.webapplication.com/#Dashboard:142 从dashboard.php/142加载内容为userid
E.g.从settings.php文件/ 142 http://www.webapplication.com/#settings:142 加载内容是用户ID