如何防止来自嵌入式视频播放器的弹出窗口

时间:2015-06-28 16:34:09

标签: javascript html iframe video popup

我在我的网站上嵌入了视频(JW播放器),他们正在制作弹出窗口。

我在iframes中检测到了一个javascript代码块:

<script type="text/javascript"> 
                            vc.pu_url = 'http://www.website.com';
                vc.cookie.id = 'vhs_pu_1035_8158';
                vc.language_id = '1';
                                vc.ad_type_id = '3';
                                                vc.pu_trigger_click = '2';
                                vc.pu_default_trigger_click = 'FIRST';
                                    vc.show_top_links = true;
                            vc.report_url = 'http://videos.website.com/player/report_video/s26rf9cqrgms3e6ntks5cqp9d7/5328/8158/1';
                vc.report_msg.success = 'This video was reported with success.';
                vc.report_msg.reason_empty = 'The Reason field is required.';
                vc.report_msg.email_invalid = 'The Email field must contain a valid email address.';
                vc.report_msg.comment_empty = 'The Comment field is required.';
                            vc.allow_ad_block = '1';

                                </script>

我尝试从Chrome的开发者工具中编辑和删除此块。然而,视频播放器仍在制作弹出窗口。

那么我该如何防止这个问题呢?

如有必要,我可以提供更多信息和代码。谢谢! :)

0 个答案:

没有答案