一个奇怪的外链问题

AUI做个例子,在下拉列表中点击一个外部链接(如Google首页“更多”菜单的下拉中的项目)时,弹出alert对话框,信息如下,而代码中没搜到哪里有这些文字。

It's cold outside, there's no kind of atmosphere,
I'm all alone, more or less,
Let me fly, far away from here,
Fun, fun, fun, in the sun, sun, sun...
I want to lie shipwrecked and comatose,
Drinking fresh mango juice,
Goldfish shoals, nibbling at my toes,
Fun, fun, fun, in the sun, sun, sun...
Fun, fun, fun, in the sun, sun, sun...

不知是怎么回事,谁知道?

阅读 3.9k
3 个回答

原因是加载了这个文件:

docs/js/aui-flatpack-extras.js

js动态添加进来的吧。

google的js文件都是动态引入,例如之前的搜索禁止建议也是js动态判断

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题