jquery - inIframe 函数说明
问题描述
是的,所以我是 Web 开发的初学者,我遇到了这段代码:
$('#tweet-quote').on('click', function() {
if(!inIframe()) {
openURL('https://twitter.com/intent/tweet?hashtags=quotes&related=freecodecamp&text=' + encodeURIComponent('"' + currentQuote + '" ' + currentAuthor));
}
});
除了这个我什么都懂
inIframe()
这是什么功能?我在这个特定的功能上找不到任何东西。
解决方案
推荐阅读
- java - Java:泛型,具有多个边界的通配符
- python - 如何计算 groupby 列的百分比并按降序排序?
- terraform - 无法销毁 eip 关联资源:ErrorCode: IncorrectEipStatus
- swift - 如何设置本地通知内容与打开时主屏幕显示的内容相同?[迅速]
- javascript - 无法从循环外部引用变量
- reactjs - 带有 StrictMode 的 ReactJS 吞下了一些日志消息
- .net - 使用 Mediatr 管道进行单元测试
- javascript - jquery使用ajax将html添加到不同页面的元素
- javascript - Javascript按2列分组并汇总
- r - 子集数据和过滤给了我对 R 中同一个问题的两个不同答案