I found greasemonkey when I was trying to find out how to hide an element. I am new to it and not sure how to set it up. I am hoping someone will be able to help.
I watch news on http://www.wcvb.com/nowcast but it has a dialogue box that comes up asking, "Would you like to continue watching?" This does not come up in full screen. After a few minutes, it stops the video. Is there a way to hide this? At first, I thought of making the ibsys.htvanvato.liveProgram.timeout = 1800 ; higher with greasmonkey but I must have been setting it up wrong. I figure I come here for help. Thank you. <iframe id="anvatoVideoPlayer_25817004" src="javascript:false" frameborder="0" webkitallowfullscreen="" allowfullscreen="" mozallowfullscreen="" scrolling="no" style="position: relative;"></iframe> <div class="modal hide fade ib-livestream-timeout-modal"> <div class="modal-header"> <h3>Notice!</h3> </div> <div class="modal-body">Would you like to continue watching?</div> <div class="modal-footer"> <button class="btn btn-primary">Yes</button> <button class="btn">No</button> </div> </div></div> <script type="text/javascript" src="http://secure-us.imrworldwide.com/novms/js/2/ggcmb400.js <view-source:http://secure-us.imrworldwide.com/novms/js/2/ggcmb400.js>"></script> <script> var _nolggGlobalParams = { apid: "P98EBCF99-DBA5-46F4-BD19-33E785521292", sfcode: "us", apn:"anvp" }; </script> <script> var anvp = { anvatoVideoPlayer_25817004:{} }; if(true){ var _nolggmetadata = { content:"Liveprogram", assetid:"25817004", dpr: "true", category:"${self.title}", censuscategory:"${self.title}", title:"${self.title}", vcTitle: "${self.title}", uurl:"http://www.wcvb.com/news/nowcast/25817004", length:"86400" }; } $ib(document).ready(function () { var adSelector = $ib("#videoDetail"); if (ibsys.ad.manager.isUnifiedDfp()) { adSelector.data('ad').topic = adSelector.data('adcategory'); } var prerollAdData = true ? adSelector.data('ad') : "null"; if (prerollAdData) { prerollAdData['anvls'] = true; } var lotameData = ibsys.ad.lotame.adTargetingPreroll_anvato(); var videoParamList = { playerId: 'anvatoVideoPlayer_25817004', m3u8: 'http://play-prod1.live.anvato.net/server/play/hearst-wcvb-dfp/master.m3u8', anvatoVideoId: 'c301', anvatoMcpId: 'hearst', width: '100%', height: '100%', durationLowInterval: 90, durationHighInterval: 90, autoplay: true, useDFP: true, virtualPageView: false, prerollAdData: prerollAdData, prerollAdRule: 0, isMobile:'', anvp: anvp, anvpPlayer: anvp.anvatoVideoPlayer_25817004, anvatoShareShow:false, _nolggmetadata : _nolggmetadata, absoluteUrl:'http://www.wcvb.com/news/nowcast/25817004', nielsenAnvato:true, anvatoExternalStream:'https://s3.amazonaws.com/pluscast/vod/wcvb/master.m3u8', anvatoExternalStreamIntentPlayer:false, poster:'http://www.wcvb.com/image/view/-/11266158/highRes/1/-/h/360/w/532/-/fwwasuz/-/wcvb-mediawindow-default-640x360-jpg.jpg', cmsId: "1748", videoId: "25817004", comscoreEnabled: false, comscoreCustomerID: 6034975, lotameCustParamData:(((false) && (lotameData !== undefined))? lotameData : '') }; ibsys.htvanvato.initPlayer(videoParamList); ibsys.htvanvato.liveProgram.timeout = 1800; ibsys.htvanvato.liveProgram.timeout_delay = 30; }); </script> -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.
