How can I disable back button

How can I disable the back button and/or prevent the back button displaying my recent searches on right click ?

Set the pref <b>browser.sessionhistory.max_entries</b> to 0 on the <b>about:config</b> page.
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />

Similar Messages

  • How can I disable back, forward and refresh button in browser running ADF 11.1.2.2

    How can I disable back, forward and refresh button in browser running ADF 11.1.2.2?

    I insert the java script into ADF page. But it does not work. The ADF source look like below. Did I insert into wrong region?
       <f:view>
            <af:document id="d1">
                <af:messages id="m1"/>
                <af:resource type="javascript">
                  window.history.forward();
                  function noBack() {
                      window.history.forward();
                </af:resource>
                <af:form id="f1">
                    <af:pageTemplate viewId="/template/temp2.jspx" id="pt1">
                        <f:facet name="body">
                            <af:panelStretchLayout id="psl1" topHeight="30px">
                                <f:facet name="bottom"/>
                                <f:facet name="center">
                                    <af:panelBox text="Incident List" id="pb1">
                                        <f:facet name="toolbar"/>
                                        <af:panelCollection id="pc1">
                                            <f:facet name="menus"/>
                                            <f:facet name="toolbar"/>
                                            <f:facet name="statusbar"/>
                                            <af:table value="#{bindings.ServiceRequestMain.collectionModel}" var="row"
                                                      rows="#{bindings.ServiceRequestMain.rangeSize}"

  • How to Restrict/Disable back button in browser

    Hi guys,
    I am writing a enterprise web application using ADF. I am using JDeveloper 11.1.2.0.0.
    I want to restrict/ disable browser back/forward buttons in all my .jspx and .jsf pages.
    It was discussed in following thread as well.
    how to Restrict/Disable  back button in browser
    Can somebody give a way to do this please.
    Regards !
    Sameera

    Hi Sudipto,
    This is one of my .jspx pages. I wonder where should I put that javascript code. I have tried in several places and didn't work.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="Registration Page" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/MyPageTemplate.jspx" id="pt1">
    <f:facet name="MainPageRegion">
    <af:group id="g1">
    <af:panelSplitter splitterPosition="454"
    inlineStyle="width:943px; height:200px;"
    id="FirstRN">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <af:outputText value="Registration Details"
    inlineStyle="font-weight:bold;" id="ot1"/>
    <af:separator id="s1"/>
    <af:panelFormLayout labelAlignment="start" id="pfl1">
    <f:facet name="footer"/>
    <af:panelLabelAndMessage label="#{bindings.RegNum.hints.label}" id="plam1">
    <af:outputText value="#{bindings.RegNum.inputValue}" id="ot2"/>
    </af:panelLabelAndMessage>
    <af:selectOneChoice value="#{bindings.ProcType.inputValue}"
    label="#{bindings.ProcType.label}"
    required="#{bindings.ProcType.hints.mandatory}"
    shortDesc="#{bindings.ProcType.hints.tooltip}" id="soc1">
    <f:selectItems value="#{bindings.ProcType.items}" id="si1"/>
    </af:selectOneChoice>
    <af:selectOneChoice value="#{bindings.RegStatus.inputValue}"
    label="#{bindings.RegStatus.label}"
    required="#{bindings.RegStatus.hints.mandatory}"
    shortDesc="#{bindings.RegStatus.hints.tooltip}" id="soc2">
    <f:selectItems value="#{bindings.RegStatus.items}" id="si2"/>
    </af:selectOneChoice>
    <af:panelLabelAndMessage label="#{bindings.TotalUsdAmt.hints.label}" id="plam2">
    <af:outputText value="#{bindings.TotalUsdAmt.inputValue}" id="ot3">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.TotalUsdAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.TotalPfiAmt.hints.label}" id="plam3">
    <af:outputText value="#{bindings.TotalPfiAmt.inputValue}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.TotalPfiAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="pgl2">
    <af:outputText value="Creation Details"
    inlineStyle="font-weight:bold;" id="ot5"/>
    <af:separator id="s2"/>
    <af:panelFormLayout labelAlignment="start" id="pfl2">
    <f:facet name="footer"/>
    <af:panelLabelAndMessage label="#{bindings.CreatedByName.hints.label}" id="plam4">
    <af:outputText value="#{bindings.CreatedByName.inputValue}" id="ot6"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CreationDate.hints.label}" id="plam5">
    <af:outputText value="#{bindings.CreationDate.inputValue}" id="ot7">
    <af:convertDateTime pattern="#{bindings.CreationDate.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:selectOneChoice value="#{bindings.RequestedBy.inputValue}"
    label="#{bindings.RequestedBy.label}"
    required="#{bindings.RequestedBy.hints.mandatory}"
    shortDesc="#{bindings.RequestedBy.hints.tooltip}" id="soc3">
    <f:selectItems value="#{bindings.RequestedBy.items}" id="si3"/>
    </af:selectOneChoice>
    <af:panelLabelAndMessage label="#{bindings.DepartmentName.hints.label}" id="plam6">
    <af:outputText value="#{bindings.DepartmentName.inputValue}" id="ot8"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    <af:panelSplitter inlineStyle="width:944px; height:132px;"
    splitterPosition="452" id="SecondRN">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="pgl3">
    <af:outputText value="Notes to Buyer"
    inlineStyle="font-weight:bold;" id="ot9"/>
    <af:separator id="s3"/>
    <af:inputText value="#{bindings.NotesBuyer.inputValue}"
    simple="true"
    required="#{bindings.NotesBuyer.hints.mandatory}"
    columns="#{bindings.NotesBuyer.hints.displayWidth}"
    maximumLength="#{bindings.NotesBuyer.hints.precision}"
    shortDesc="#{bindings.NotesBuyer.hints.tooltip}"
    rows="5" id="it1">
    <f:validator binding="#{bindings.NotesBuyer.validator}"/>
    </af:inputText>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="pgl4">
    <af:outputText value="Party Notes"
    inlineStyle="font-weight:bold;" id="ot10"/>
    <af:separator id="s4"/>
    <af:inputText value="#{bindings.PartyNotes.inputValue}"
    simple="true"
    required="#{bindings.PartyNotes.hints.mandatory}"
    columns="#{bindings.PartyNotes.hints.displayWidth}"
    maximumLength="#{bindings.PartyNotes.hints.precision}"
    shortDesc="#{bindings.PartyNotes.hints.tooltip}"
    rows="5" id="it2">
    <f:validator binding="#{bindings.PartyNotes.validator}"/>
    </af:inputText>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    <af:spacer width="10" height="20" id="s5"/>
    <af:outputText value="Registration Lines"
    inlineStyle="font-weight:bold;" id="ot11"/>
    <af:separator id="s6"/>
    <af:commandButton text="Add Item"
    disabled="#{RegistrationBean.disableAddItemBtn}"
    action="CatalogPage" id="cb1"/>
    <af:commandButton text="Search Item"
    action="ItemLitsPage"
    disabled="#{RegistrationBean.disableSearchCataBtn}" id="cb2"/>
    <af:table value="#{bindings.RegLinesRegPageVO.collectionModel}"
    var="row" rows="#{bindings.RegLinesRegPageVO.rangeSize}"
    emptyText="#{bindings.RegLinesRegPageVO.viewable ? 'No rows yet.' : 'Access Denied.'}"
    fetchSize="#{bindings.RegLinesRegPageVO.rangeSize}"
    width="900" id="t1">
    <af:column sortProperty="ProductCode" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.ProductCode.label}" id="c1">
    <af:outputText value="#{row.ProductCode}" id="ot12"/>
    </af:column>
    <af:column sortProperty="Qty" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.Qty.label}" id="c2">
    <af:outputText value="#{row.Qty}" id="ot13">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.Qty.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="UnitPrice" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UnitPrice.label}" id="c3">
    <af:outputText value="#{row.UnitPrice}" id="ot14">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UnitPrice.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Currency" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.Currency.label}" id="c4">
    <af:outputText value="#{row.Currency}" id="ot15"/>
    </af:column>
    <af:column sortProperty="UsdAmount" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UsdAmount.label}" id="c5">
    <af:outputText value="#{row.UsdAmount}" id="ot16">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UsdAmount.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="UsdPfiAmount" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UsdPfiAmount.label}" id="c6">
    <af:outputText value="#{row.UsdPfiAmount}" id="ot17">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UsdPfiAmount.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="UsdTotalAmount" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UsdTotalAmount.label}" id="c7">
    <af:outputText value="#{row.UsdTotalAmount}" id="ot18">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UsdTotalAmount.format}"/>
    </af:outputText>
    </af:column>
    </af:table>
    </af:group>
    </f:facet>
    <f:facet name="ActionButtonBarRegion">
    <af:group id="g2">
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    text="Save"
    disabled="false" id="cb3">
    <af:setActionListener from="#{false}"
    to="#{RegistrationBean.disableAddItemBtn}"/>
    <af:setActionListener from="#{false}"
    to="#{RegistrationBean.disableSearchCataBtn}"/>
    <af:setActionListener from="#{bindings.RegistrationId.inputValue}"
    to="#{pageFlowScope.regToEdit}"/>
    </af:commandButton>
    <af:commandButton text="Home" action="HomePage" immediate="true" id="cb4"/>
    </af:group>
    </f:facet>
    <f:attribute name="PageTitle" value="Registration Page"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Regards !
    Sameera
    Edited by: samme4life on May 17, 2012 2:39 AM
    Edited by: samme4life on May 17, 2012 2:42 AM

  • How can we prevent back button  using java script

    how can we prevent back button using java script

    Would be quicker for you to google for javaScript
    javascript:window.history.forward(-1);

  • How can I disable a button ?

    Hi!
    How can I disable the a button ?
    There is a if statement. If it returns a false the button must be disabled.
    Regards
    sas
    Edited by: erdem sas on Jan 15, 2008 3:06 PM
    Edited by: erdem sas on Jan 15, 2008 3:16 PM

    Do it thru its action:
    //Deactivate a button disabling its action
    //You can see it but clicking it does nothing
    wdGetACTION_NAMEAction().setEnabled(false);
    //Get it's funcionality back
    wdGetACTION_NAMEAction().setEnabled(true);
    Or you could hide it using an attribute of type WDVisibility binded to its visible property.
    //Hide it
    wdContext.currentContextElement.setATTRIBUTE(WDVisibility.NONE);
    //and Show it
    wdContext.currentContextElement.setATTRIBUTE(WDVisibility.VISIBLE);
    Regards.
    Julio Herrera.

  • How Can i Disable this Button (Screenshots)

    Hi,
    I need to disable 2 buttons (Approve - Reject) for a specific responsibility (+see screenshot link below+)
    http://img825.imageshack.us/i/44310429.jpg/
    Path : Intercompany User --> Transactions: Inbound --> Search for transaction --> Update Transaction
    Through Personalize Page, i personalized the button and set it's Render to FALSE but they still appear (+see screenshot link below+)
    http://img801.imageshack.us/i/87584812.jpg/
    Am i missing something? Please Help,
    Your advice is highly appreciated,
    Best Regards,

    Dear Kali Thanks for your response,
    I tried to set the Render FALSE at the site Level , but the buttons are still appearing.
    you mean the "Disable Self-Service Personal" Profile option? it is set to NO
    the outputs as per your :
    exec jdr_utils.listcustomizations(p_document => '/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG');
    /oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" rendered="false" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" rendered="false" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG">
    <modifications/>
    </customization>
    Best Regards,

  • How can i disable a button in the application tool bar of a standard trans?

    Hi Experts,
       I want to disable the create button in the application tool bar of the standard transaction cv03n. Is there any method?

    Hi,
    In the include 'LCV110F19', the GUI is being called for the screen.
    This is the actual code being called.
    WHEN c_dms_create.
          SET PF-STATUS 'D100CREATE'.
          SET TITLEBAR  'D100CREATE'.
    You can try to code something like below.
    DATA: itab TYPE TABLE OF sy-ucomm.
    APPEND 'CREATE' TO itab.
    SET PF-STATUS 'D100CREATE' EXCLUDING itab.
    Kindly reward points by clikcing the star on the left of reply,if it helps.

  • How can block firefox back button {using some language..}

    Like This links...
    [http://example.com https://careers.infosys.com/sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search?sap-client=400]

    Would be quicker for you to google for javaScript
    javascript:window.history.forward(-1);

  • How can i disable a submit button and execute submit_action method on click

    Good Day,
    On my page I have a submit button that execute the submit_action method of the page backing bean that submit data captured on the page into a database and activate another class that send mail at the same time on a click of the submit button,the mail process takes a while before returning back to the page.I was able to disable the submit button to prevent the user from keep click while the process is running but the issue is on clicking the submit button it only disable the submit button without executing the submit_action method of the page backing bean.How can i disable the submit button and execute submit_method of the backing bean at the same time.
    Thanks in advance.

    I tried this out on one of my pages to see if it works.
    First, I added the following JavaScript to my submit button's onClick event:
    this.disabled=true; return true;When I clicked the submit button, it was disabled but the form was not submitted.
    I deleted the JavaScript from the onClick event and added the following JavaScript to the form's onSubmit event:
    var button = document.getElementById("form1:submitButton"); button.disabled=true; return true;When I click the submit button, it was disabled and the form was submitted but the button's action method was not called.
    The next thing I tried was to change the onSubmit event code:
    var button = document.getElementById("form1:submitButton"); setTimeout("button.disabled=true", 500); return true;This seemed to work. The difference was that I added a 1/2 second delay before disabling the button.
    See if that works for you. If not then I'm fresh out of ideas.

  • I just pressed the wrong button to erase of my IMac, how can I get back all information from my computer ?

    I just pressed the wrong button to erase of my iMac, how can i get back all information ?

    Possibly through a data rescue service (can cost a four-figure amount) if you didn't have an external backup.
    But you must stop using that Mac immediately, or your data will be over-written.

  • I just installed version 7 of Firefox and afterwards it told me my security module for my firm's bank account was disabled. Now I can't access my account and the bank is in Brazil. I MUST make transactions from the US. How can I go back?

    I just intalled version 7 of firefox and afterwards it told me it had disabled a security module for access to my bank account. The account and my company are in Brazil and I am in the US. I must have access to perform transactions. Had the program warned me I would not have "upgraded". To reinstall the security module I must be physically in Brazil because a code is text messaged to my local cell phone as one of the securty precautions and I am in the US and Europe for t3 to 4 weeks. I need to make a wire transfer during that time and cannot do so now. How can I go back to the old version and recover the bank access? Thank you.

    You can download last Firefox 6 version from [http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest-6.0/ Here]
    Regards

  • How can I disable the Voicemail button on an iPhone 4

    How can I disable the Voicemail button on an iPhone 4 or
    if that is not possible can i programme it to dial my own phone rather than my carrier's Voicemail box?

    No, it's not possible to disable that button and no, it's not possible to reprogram it to anything else.

  • How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level.

    How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level, There is a requirement from my client  and i propose two methode
    1- Creation of Ztcode ZVL32N and do changes ABAP program level
    2- Disablement via Authorization/Role level - but how can i find the auth object/ Authorization corresponds to POST GOODS RECEIPT button in VL32N

    I think you can make use of SHD0 - Transaction variant to achieve this. You can make it as grayed out while recording steps in SHD0.

  • How can you enable back the Android native Menu button in AIR 2.7?

    I've noticed in AIR 2.7 for Android, that now the bottom icons in Android 3.0 Honeycomb are hidden (replaced by small dots) in AIR 2.7, whereas in AIR 2.6 they were always visible. That's cool. Since the bottom bar can never be hidden in Android 3, at least now those icons are less visible (unless you intentionally touch the bottom bar, then the icons show up for a few seconds).
    BUT I also noticed in AIR 2.7 compiled apps, the native "Menu" icon is not visible anymore, even after touching the bottom bar. In AIR 2.6 you could see and press that button (which can be captured from AIR so you can show a custom settings menu or whatever).
    So, quoting the subject --> How can you enable back the Android native Menu button in AIR 2.7?

    There is a work around and a reason for the menu issue.  Honeycomb doesn't natively support a menu softkey, it is only to support old apps comiled in phone API levels.  If you compile a Honeycomb app in 2.7 or 3.0, it is expected you manage the settings within the larger tablet UI framework.  See below link for more info and work around. 
    http://forums.adobe.com/message/3964792#3964792

  • How can i get back into my disabled ipod

    how can i get back into my disabled ipod

    Disabled? You got locked out of the passcode on the lockscreen? If so, you need to put the ipod in recovery mode and restore. Here is a guide: http://support.apple.com/kb/HT1808

Maybe you are looking for

  • Error 1305. Error reading from file

    c:\Users\xx\Desktop\CRforVS_13_0_1\package\CrystalReportsForVisualStudio.msi. Verify that the file exists and that you can access it. I get that error everytime I launch the setup. I've tried to launch the msi file, same thing. I'm local admin. I had

  • Runtime error while executing CAT2

    Hi All, My user is executing the CAT2 as below: Going to CAT2 Given profile as Z001 which allows the multiple employees its is giving another screen as "Personal number selection for fast data entry" screen Click on Further selections button Selectin

  • Want an iPhone 6 that will work in US and Spain

    I want to by an iPhone 6 that I can use in the States and in Spain.  I plan to buy it unlocked. In the States I plan to buy a prepaid sim and  operate on an MVNO (Mobile Virtual Network Operator) that utilizes the Verizon CDMA infrastructure.  I am d

  • Issue Searching for Chinese Characters

    I am creating pdfs from SQL Server Reporting Services. I have the data stored in Chinese characters and it displays fine when the files are opened. Our problem is we are unable to search for any Chinese characters. When we copy a Chinese character fr

  • How to add query to a role

    Hi! I created query in Bex Query Designer. I have to add this query to a Role Menu(query is implemented in BEx Web, I don't want to use WAD, Analyzer or Report Designer) which option i have to select in PFCG? Thanks in advance