Javascript to handle browser closure

Hi,
my application needs to handle all the events of browser closure. The differents events are
1) close the browser using the "X" button
2)Close the browser window using ALT+F4 key
3)Close the window when its in fully minimised state and using the close option from the pop up window that comes when right clicked using mouse.
I have written javascript to handle the above two events.
Can any body tell how to handle the last event using java script?

I assume the OP has tried onunload and onbeforeunload since, AFIK, these are the only ways of responding to the first two kinds of closure.
I can't say I've tried them for the 3rd case.

Similar Messages

  • How to handle browser or application crash out of our application in java.

    I am running my application(testing automation tool) through ANT . when i run the same over the remote the browser is getting crashed. so if i need to handle it , i should handle outside my application. my application is written only in pure core java. Plz provide me the solution for handling browser crashes outside our application. so that when i run my application over the remote the browser should not crash.... if i use javascript to handle , how do i communicate java script code with pure core java code......

    this is not directly a security related question, but jars within jars won't be found by the JRE; they won't appear in the classpath.
    Some googling:
    http://forum.java.sun.com/thread.jspa?threadID=740123&messageID=4245964

  • Handle browser keyboard shortcuts (like F5)

    Hi,
    I was wondering if it's possible to handle browser keyboard shortcuts (like the F5, F6, etc) and disable it.
    I can do this by Javascript and an Applet but not in a Flex application.
    EDIT: forgot to say that when the Flex application has focus I cant handle the shortcuts in Javascript, so it's impossible to trap the keys in Javascript and sent them to the Flash movie.
    There's some issue reported in http://bugs.adobe.com/jira/browse/FP-96
    Thank You

    Have you? And did you look at the issue link I sent?
    I know how to do a EventListener! the problem is that the Flash Player does not 'trap' the browser shortcuts !!!
    The manual says:
    "When handling a key or key combination that the underlying operating system or browser recognizes, the operating system or browser generally processes the event first. For example, in Microsoft Internet Explorer, pressing Control+w closes the browser window. If you trap that combination in your Flex application, Internet Explorer users never know it, because the browser closes before the ActiveX Flash Player has a chance to react to the event."
    So I'm guessing that, for some kind of reason, Flash Player is the only ActiveX that does not handle this.

  • Handling browser close

    Hi
    I have a requirement to handle browser close so that i can go ahead and release some specific locks on the server. So using javascript's functions like onclose(), onunload() and even onbeforeunload() event .. i went to do a window.open which has the logic for executing some server side code .. this works perfectly .. however due to pop-up blockers the window.open() functionality doesnt get executed ... so whats the way to resolve this.

    Or use an IFrame to make a request to the page you would use to do the work:
    <html>
      <head>
        <title>Hidden Frame</title>
        <script type="text/javascript">
          function closeStuff() {
            document.getElementById("hiddenFrame").src="doCloseStuff.html";
        </script>
      </head>
      <body onUnload="closeStuff();">
        <h1>Blah Blah Blah</h1>
        <iframe src="" id="hiddenFrame" name="hiddenFrame"
             width="1" height="1" frameborder="0">
        </iframe>
      </body>
    </html>Or you could run an XMLHTTPRequest to the server side page that cleans up for you. See: http://www.jibbering.com/2002/4/httprequest.html

  • How can we handle browser settings while dealing with the security ?

    Hi ,
    how can we handle browser settings while dealing with the security ?When we configured security in web.xml , during the first request the container is asking for the authentication credentials once they are provided it go's on. but when the user gives a fresh request from the second window within the same browser that time it is not asking for authentication. How can we overcome this.Is there anything to do with server configurations?
    How can we make the container no to keep the things or act like session?

    Ya... I am taking a small example need not happen always but a kind of possibility i am thinking off.
    once the user sign out and just left without closing the browser and a friend (suppose not a good friend ... just kidding...) of that user may open the same jsp or file .This time the security is breached. If that feature or property exists....
    I know what you might say ... the user will log-out before leaving where a programer might invalidate the session at the time of log out.
    Consider the case of a bad Programing or just a programer might forget to invalidate,At that time as a application administrator how can he solve that issue.
    Thanks.......
    Edited by: user8483670 on Jun 6, 2011 1:08 AM
    Edited by: user8483670 on Jun 6, 2011 1:09 AM

  • How to include a common java script in all pages to prevent browser closure

    We have already implemented a script to prevent accidentally browser closure. The script has been included in a js static file and loaded in APEX 4.01.
    There is a way to make the script available to all pages without including it in all pages ?
    Ad example to make an item available to all pages is sufficient to include it in page 0 there is somethings similar for java script
    Txs
    Giuseppe.

    Reference the script via a <tt>script</tt> element in the Header section of utilised page templates.

  • JavaScript Error Unsupported browser!

    Since the Safri update a few days ago, a handful of webpages produce a "javaScript error Unsupported browser!" error message.  The message appears 4 seperate times with the option to hit OK.  The message has appeared on YouTube as well as on this Support page.
    I have run a Software update severla times since the upgrade (as well as after my Mountain Lion uprage).  This has not addressed the problem.
    Any ideas on a fix?
    Thanks.

    Here are my results:
    Step 1
    com.Logitech.Control Center.HID
    com.Logitech.Unifying.HID Driver
    com.AmbrosiaSW.AudioSupport (4.0)
    com.DataRobotics.driver.iSCSIInitiator (1.4.31)
    com.Cycling74.driver.Soundflower (1.5.2)
    com.eset.kext.esets_kac (4.1.86)
    MacBooks-iMac:~ Mike$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    com.Logitech.Control Center.HID
    com.Logitech.Unifying.HID Driver
    com.AmbrosiaSW.AudioSupport (4.0)
    com.DataRobotics.driver.iSCSIInitiator (1.4.31)
    com.Cycling74.driver.Soundflower (1.5.2)
    com.eset.kext.esets_kac (4.1.86)
    Step 2
    com.splashtop.streamer.SRServiceDaemon
    com.prosofteng.DriveGenius.locum
    com.opendns.osx.DNSCryptConfigUpdater
    com.microsoft.office.licensing.helper
    com.micromat.TechToolProDaemon
    com.eset.esets_daemon
    com.dymo.pnpd
    com.datarobotics.ddserviced
    com.datarobotics.ddservice64d
    com.bjango.istatlocaldaemon
    com.adobe.SwitchBoard
    com.adobe.fpsaud
    Step 3
    com.growl.GrowlLauncher
    com.splashtop.streamer.SRServiceAgent
    com.sandisk.cruzeragent
    com.opendns.osx.DNSCryptMenuBar
    com.micromat.TechToolProAgent
    com.maintain.CocktailSystemEvents
    com.Logitech.Control
    com.epson.epw.agent
    com.bjango.istatlocal
    com.amazon.sendtokindle.launcher
    ws.agile.1PasswordAgent
    info.lokiware.attachmenttamer.setupagent
    com.valvesoftware.steamclean
    com.prosofteng.DGMonitor
    com.plexapp.helper
    com.google.keystone.user.agent
    com.ecamm.printopia
    com.divx.agent.postinstall
    com.adobe.ARM.df0ab5bbe6f698196fcc21e3c1e66dcb758bd911f4d637272d9d8109
    com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae
    Step 4
    /Library/Address Book Plug-Ins:
    DYMO Address Book Addin.bundle
    /Library/Components:
    /Library/Extensions:
    /Library/Frameworks:
    ADAPI.framework
    AECore.framework
    AEProfiling.framework
    AERegistration.framework
    Adobe AIR.framework
    AudioMixEngine.framework
    DSPPublishing.framework
    DYMO
    EWSMac.framework
    FxPlug.framework
    HPPml.framework
    HPServicesInterface.framework
    MacFUSE.framework
    MediaServerAPI.framework
    NyxAudioAnalysis.framework
    OSXFUSE.framework
    PluginManager.framework
    ProFX.framework
    Qmaster.framework
    SRFrameBufferConnection.framework
    SU2VW.framework
    SketchUpReader.framework
    TSLicense.framework
    XSKey.framework
    cisco-vpnclient.framework
    iLifeFaceRecognition.framework
    iTunesLibrary.framework
    openquicktime.framework
    /Library/Input Methods:
    /Library/Internet Plug-Ins:
    AdobePDFViewer.plugin
    AmazonMP3DownloaderPlugin.plugin
    DFusionWebPlugin.plugin
    DFusionWebPluginS64.plugin
    DYMO NPAPI Addin.plugin
    DYMO Safari Addin.bundle
    DYMO Safari Addin.plugin
    Flash Player.plugin
    Flip4Mac WMV Plugin.plugin
    JavaAppletPlugin.plugin
    OfficeLiveBrowserPlugin.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    SharePointBrowserPlugin.plugin
    SharePointWebKitPlugin.webplugin
    Silverlight.plugin
    VLC Plugin.plugin
    flashplayer.xpt
    iPhotoPhotocast.plugin
    npContributeMac.bundle
    nsIQTScriptablePlugin.xpt
    /Library/Keyboard Layouts:
    /Library/LaunchAgents:
    com.Logitech.Control Center.Daemon.plist
    com.adobe.AAM.Updater-1.0.plist
    com.amazon.sendtokindle.launcher.plist
    com.bjango.istatlocal.plist
    com.epson.epw.agent.plist
    com.maintain.CocktailSystemEvents.plist
    com.micromat.TechToolProAgent.plist
    com.opendns.osx.DNSCryptMenuBar.plist
    com.sandisk.cruzeragent.plist
    com.splashtop.streamer.SRServiceAgent.plist
    /Library/LaunchDaemons:
    com.adobe.SwitchBoard.plist
    com.adobe.fpsaud.plist
    com.apple.aelwriter.plist
    com.apple.qmaster.qmasterd.plist
    com.apple.remotepairtool.plist
    com.bjango.istatlocaldaemon.plist
    com.datarobotics.ddservice64d.plist
    com.datarobotics.ddserviced.plist
    com.dymo.pnpd.plist
    com.eset.esets_daemon.plist
    com.maintain.CocktailScheduler.plist
    com.micromat.TechToolProDaemon.plist
    com.microsoft.office.licensing.helper.plist
    com.opendns.osx.DNSCryptConfigUpdater.plist
    com.prosofteng.DriveGenius.locum.plist
    com.splashtop.streamer.SRServiceDaemon.plist
    /Library/PreferencePanes:
    Apple Qmaster.prefPane
    Flash Player.prefPane
    Flip4Mac WMV.prefPane
    Logitech Control Center.prefPane
    MacFUSE.prefPane
    Perian.prefPane
    TechTool Protection.prefPane
    Tuxera NTFS.prefPane
    /Library/PrivilegedHelperTools:
    com.microsoft.office.licensing.helper
    com.prosofteng.DriveGenius.locum
    /Library/QuickLook:
    GBQLGenerator.qlgenerator
    LogicQLGenerator.qlgenerator
    QuickLookEyeTV.qlgenerator
    iWork.qlgenerator
    /Library/QuickTime:
    .3ivx_dependency
    3ivxMediaExporter.component
    3ivxVideoCodec.component
    AC3MovieImport.component
    AppleAVCIntraCodec.component
    AppleHDVCodec.component
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    AppleProResCodec.component
    DVCPROHDCodec.component
    DVCPROHDMuxer.component
    DVCPROHDVideoDigitizer.component
    DVCPROHDVideoOutput.component
    DVCPROHDVideoOutputClock.component
    DVCPROHDVideoOutputCodec.component
    DesktopVideoOut.component
    EyeTV MPEG Support.component
    FCP Uncompressed 422.component
    Flip4Mac WMV Advanced.component
    Flip4Mac WMV Export.component
    Flip4Mac WMV Import.component
    IMXCodec.component
    LiveType.component
    Perian.component
    SoundboothScoreCodec.component
    /Library/ScriptingAdditions:
    Adobe Unit Types.osax
    TotalFinder.osax
    /Library/Spotlight:
    GBSpotlightImporter.mdimporter
    LogicPro.mdimporter
    Microsoft Office.mdimporter
    iWork.mdimporter
    /Library/StartupItems:
    Cocktail
    EyeConnect
    HP IO
    /etc/mach_init.d:
    /etc/mach_init_per_login_session.d:
    /etc/mach_init_per_user.d:
    Library/Address Book Plug-Ins:
    Library/Fonts:
    Library/Input Methods:
    .localized
    Library/Internet Plug-Ins:
    ClickToFlash.webplugin
    Google Earth Web Plug-in.plugin
    Picasa.plugin
    rf-safari-plugin.webplugin
    Library/Keyboard Layouts:
    Library/LaunchAgents:
    com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
    com.adobe.ARM.df0ab5bbe6f698196fcc21e3c1e66dcb758bd911f4d637272d9d8109.plist
    com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.51E39DB1-5911-4FC3-9722-445 D11FBB2C3.plist
    com.apple.FolderActions.enabled.plist
    com.apple.FolderActions.folders.plist
    com.apple.MobileMeSyncClientAgent.plist
    com.apple.SafariBookmarksSyncer.plist
    com.divx.agent.postinstall.plist
    com.ecamm.printopia.plist
    com.google.keystone.agent.plist
    com.plexapp.helper.plist
    com.prosofteng.DGMonitor.plist
    com.valvesoftware.steamclean.plist
    info.lokiware.attachmenttamer.setupagent.plist
    ws.agile.1PasswordAgent.plist
    Library/Mail/Bundles:
    Attachment Tamer.mailbundle
    DEVONMailConduit-SnowLeopard.mailbundle
    SpamSieve.mailbundle
    Library/Mail/Bundles (Disabled 1):
    DEVONMailConduit-SnowLeopard.mailbundle
    Library/Mail/Bundles (Disabled 2):
    DEVONMailConduit-SnowLeopard.mailbundle
    Library/Mail/Bundles (Disabled):
    Library/PreferencePanes:
    EarthDesk.prefPane
    PTHPasteboard.prefPane
    Printopia.prefPane
    Library/ScriptingAdditions:
    Library/Services:
    WinzipAdd.workflow
    WinzipEmail.workflow
    WinzipUnzip.workflow
    Step 5
    GrowlHelperApp, GrowlMenu, OpenDNS Updater, MenuCalendarClock iCal, Fantastical, VMware Fusion Helper, Air Video Server, EyeTV Helper, Bonjour Mounter, Bonjour Mounter, DEVONthink Sorter, RoboFormIcon, TotalFinder, Tunnelblick, Dropbox, ESET Cybersecurity
    Hope this helps,
    Mike

  • Calling a URL using JavaScript even handler

    When I'm trying to call another URL using JavaScript, it doesn't work.
    I did following things,
    1).Created a Button
    2).In javascript event handler, I'm calling Javascript function doSearch()
    3). I wrote this function in Header Text Section of the Form Tex as below
    <SCRIPT language="JavaScript">
    function doSearch() {
    location="http://www.oracle.com"
    </SCRIPT>
    When I saw the source of that button, it shows me as following,
    --<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD>
    <INPUT TYPE="BUTTON" NAME="FORM_TO_CALL_CUSTOM.DEFAULT.CALL_REPORT.01" VALUE="CALL_REPORT" onClick="doSearch(); do_event(this.form,this.name,1,'ON_CLICK','');">
    </TD></TR></TABLE></TD></TR></TABLE>
    But, it doesn't call that URL.
    Plz. guide me.
    null

    Sorry, the code for the CALL_Report button is as follow.
    --<Tab BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD>
    <INPUT TYPE="BUTTON" NAME="FORM_TO_CALL_CUSTOM.DEFAULT.CALL_REPORT.01" VALUE="CALL_REPORT" onClick="doSearch(); do_event(this.form,this.name,1,'ON_CLICK','');">
    </TD></TR></TABLE></TD></TR></TABLE
    null

  • HELP!! "remove render-blocking JavaScript" and "leverage browser caching"

    My Adobe Muse website, www.realtorindfw.com, (desktop version) was loading just fine until yesterday. Now it loads very slowly, I tried to reduce image size, thinking that might be the problem (even though it used to load incredibly fast even when the images were 4x larger, so I shouldn't have thought that). When that did not fix the problem I typed my site into Google's PageSpeed and found that the main issue is that I need to "remove render-blocking JavaScript" and "leverage browser caching."
    It appears the main problem is that the file, http://webfonts.creativecloud.com/…eue:n4:all;open-sans-condensed:n3:all.js, is apparently the render-blocking JavaScript that is causing everything else to be delayed, in that the images cannot load until this line is resolved and that can take up to a minute. From reading online, it looks like if I could move this line of code to the bottom, then it wouldn't hold everything else up, since no assets would be behind it. I obviously know nothing about coding though (which is why I use Muse). How can I go about resolving this render-blocking JavaScript issue?
    Also, the "leverage browser caching" issue is that some images don't have an expiration date associated with them. I don't believe this has anything to do with me and instead is some sort of Muse issue. Is there a way I can fix this?
    My page was loading just fine, until I randomly uploaded again and all these problems started. Please type my site into PageSpeed and look at the problems for the desktop version and see if you can figure out how this can be resolved. This is my business site, so obviously I am trying to get it fixed asap. I also discussed this with chat support and they said the best way to get it resolved would be to post it here. Thanks.

    Good question Tarran.."remove render-blocking JavaScript" and "leverage browser caching." I get this quite a lot on site test in google page speed. Which i am trying to learn about. Take onboard Zak dudes save image for web in photoshop.
    Like this is a big deal... If a client get there head around webmaster tools. As they should. And they see a red mark "remove render-blocking JavaScript" and "leverage browser caching." or content above the fold. What am i going to do?
    Is this a common web issue across browsers for all web builders. Is there a form on this?
    Tarran best of luck with business, just a suggestion when i scrolled to bottom of your site, which is a big page. I had know way to get back to menu, taken thats what i wanted to do. Put a couple of state buttons around. My hand was sore.
    Best of luck with muse it rocks.
    Padraig 

  • Help isn't displaying because JavaScript is turned off. You can enable JavaScript in your browser's preferences or settings. Then refresh this page to try again.

    Help isn’t displaying because JavaScript is turned off.
    You can enable JavaScript in your browser’s preferences or settings. Then refresh this page to try again.
    I've followed instructions to remove problem, still exists, how do I get Iphoto to open?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Configuring the ADF Javascript error handler

    I've noticed that ADF has a default Javascript error handler which seems to swallow all Javascript errors. Now this is a problem since all errors disappear into this logger system.
    How can I get this logger to write error messages to the Firebug console?

    Hi,
    please read page 23 onwards of: http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    Frank

  • How to write an JavaScript Event Handler for Portal Form?

    I have created an form in Portal builder.
    There are two column, R04 and R05.
    I need to use Javascript Event Handler to check if R04 value is smaller than R05 value.
    Can I be able to build up this function?
    Can anyone give me a hint? or steps?
    Thanks

    Here are some suggestions.
    1. do what we did, and write your own protocol server that understands whatever custom commands you need, and then write a custom thin client which will send commands to and receive responses from this protocol server. you can use any language for the client software. the protocol server should be written in java so that it can receive commands from the client and then use the 9iFS API to execute the requests or retrieve the data that the client wants to display.
    2. write a custom fat client, in java, that accesses the 9iFS API directly. this means that each client will be accessing the iFS schema on the database machine directly. if you configure the iFS service on the client to use the THIN driver, then you won't need to install the Oracle client software on the client machine. You'll just need all the iFS .jar files and the database's JDBC driver (classes12.zip). Note that using the THIN driver is not supported because of bugs and performance problems. If you use the OCI8 driver, which is supported, then you'll have to install the whole Oracle client software package on the client machine.
    3. write a thin client that uses the WebDAV protocol, and communicate with our built-in DAV server. this approach will allow you to execute any command that DAV understands. you may be able to find some free HTTP or DAV client software on the net, or you can try writing it yourself. this is probably a better solution than number 1 unless you really need to send custom commands that are not in our DAV server's vocabulary.

  • [21996] JavaScript Disabled in Browser.

    [21996] JavaScript Disabled in Browser.

    Tools > Options > Content, is "Enable JavaScript" checked?
    Do you have any script-blocking add-ons, like NoScript?
    See: http://support.mozilla.com/en-US/kb/Options+window+-+Content+panel

  • You see this message either because your Flash Player is outdated or because you disabled JavaScript in your browser.

    When going to several sites that play videos I get the following error on the page instead of the video. You see this message either because your Flash Player is outdated or because you disabled JavaScript in your browser.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Trigger Javascript when closing browser window from CP8

    I worry this isn't possible but here goes....any help would be incredible.
    Recently I was given some great advice on how to trigger a Javascript action in the frame on our LMS which the Captivate file plays in.
    It works perfectly and on the final page triggers the Javascript which send usage back to the LMS and forward the user to a page which allows them to rate the course.
    The code was as follows:
    top.code.closeSCOContent();
    closeSCOContent() is something written into our LMS.
    However the obvious issue occurs when a user just closes the browser window and for some reason our LMS doesn't record any bookmarking or any data.
    The only way it seems to do this is if that function is called.
    So using the window.onunload() or the DOFinish; function is there a way I can edit any file in the Captivate output to trigger this function when closing the browser?
    Long shot I know but currently the best I have managed is getting the course to trigger this as soon as it loads rather than closing the window?
    Massive thanks in advance for any advice.

    Any solution to ensure the data is written back to the LMS would solve the issue.
    Currently when the close button is pressed nothing happens at all and it's a big problem.
    Triggering this .closeSCOContent() function would be the ideal, but if it's not possible anything to write back would be best.
    When you say <body onbeforeunload="top.code.closeSCOContent();">
    Do you mean putting this in the HTML file of the output which currently is:
    <body bgcolor="#f2f2f2">
    and change this to:
    <body onbeforeunload="top.code.closeSCOContent();" body bgcolor="#f2f2f2">

Maybe you are looking for

  • Submit button doesn't work - DWcs5

    I've created a form in DW CS5 using these properties: <form action="mailto:[email protected]" method="get" enctype="text/plain" name="Guest Form" target="_blank" id="Guest Form"> I've watched 4-5 video tutorials and they all say to do it this way. Bu

  • PowerBook G4 1.67GHz Won't Boot, Doesn't Get Past the Grey Screen

    The other day I was attempting to Safe Boot, and during the grey screen with the rotating cog, I could hear the hard drive spin down, the the display would turn off. The computer worked fine for the next few days, and now when I attempt to boot it (w

  • Crystal Reports and Xcelsius 2008 Conference

    Hello all, I'm not sure which forum I should be putting this in so I'm putting it in the General Forum.  We just purchased Crystal Reports and Xcelsius in the middle of last year and I missed last years conference.  Is there a conference anywhere thi

  • Automatic delivery dates in sales order.

    Hi all, The problem is that, The sales order is taking current date as delivery date , although ther are all config exist for availabiltity chek and Delivery & Transportation scheduling. The goods reciept processing time is 5 days in master record(MR

  • 40L6353D ... "No signal" when trying to record to usb

    Hi, please help.. Having a fee problems with this tv and this is the latest.. I have an 40L6353D and today i bought a usb stick so i can record some programmes, however after ive set it up and try to record or even pause is alerts NO SIGNAL... Could