首页 > 解决方案 > inIframe 函数说明

问题描述

是的,所以我是 Web 开发的初学者,我遇到了这段代码:

$('#tweet-quote').on('click', function() {
 if(!inIframe()) {
  openURL('https://twitter.com/intent/tweet?hashtags=quotes&related=freecodecamp&text=' + encodeURIComponent('"' + currentQuote + '" ' + currentAuthor));
 }
});

除了这个我什么都懂

inIframe()

这是什么功能?我在这个特定的功能上找不到任何东西。

标签: jquery

解决方案


推荐阅读