Disable Ctrl + F In The Browser

Oct 11, 2005

Can I disable the ctrl + f funtionality in the browsers?

View 3 Replies


ADVERTISEMENT

Disable A Function When Ctrl Or Cmd Is Pressed?

May 28, 2011

I want to disable a function when a user is pressing control or command using Javascript. Is this at all possible? My reason for doing this is because I recently implemented lightbox to my script, but I still want users to be able to open the image in a new tab by just clicking control or command when clicking the image rather than opening it in lightbox (which it does).

View 1 Replies View Related

Disable Browser From Refreshing?

Feb 18, 2009

Is it possible to disable the browser from refreshing when settings document.location.href

for example here's what i would like to do

if you're at mysite.com you'll click on a link. that link will fire a func that will make the location mysite.com/about however i don't want the browser to refresh. instead i want to write some javascript that will do someother stuff. i know it seems pointless but for the project i am working on it actually make pretty good sense (to me at least LOL).

i don't care about clicking the refresh button or F5 right now. just not having the browser refresh when i change the document.location.

View 1 Replies View Related

How To Disable Browser Navigation

Feb 14, 2007

I have a quiz application made in PHP. The quizzes have a time limit, and i display the time left using javascript in a textfield. I always initialize the timer on document load. I also have a page navigation that switch between pages, and i maintain the time value from the last page.

Now the problem is that if the user clicks on back button of the browser and after on forward, the timer gets reinitialized with the start time, and in this way he can cheat.
Can you please tell me how can i disable all navigation on my page?

View 3 Replies View Related

Disable All The Menus Of Browser?

Feb 23, 2010

Is there some javascript code I can put on my webpages to prevent visitors at my website from saving a web page to their hard drive, or printing a webpage?

Is there even a way to disable all the menus of their browser?

View 1 Replies View Related

How To Disable A Menu Item In Browser

Aug 16, 2006

how I can disable a menu item such as "save as" in the Internet Explorer or Netscape using Javascript.

View 8 Replies View Related

JQuery :: Disable Code For A Particular Browser?

Aug 29, 2009

I have a chunk of jquery that is working in all browsers except IE.

I know it's possible to target a piece of code AT a specific browser but is there any way to EXCLUDE it from a certain browser?

I'd be happy for IE to just not see this chunk of code...?

View 2 Replies View Related

Disable Back Button In The Browser Using Php?

Mar 13, 2009

I am writing a prgram in php.when i click "log out "button ,it redirects to my first page "index.php".(username & password)and then by clicking back button in the browser ,it showing all my previous pages that i visited.I want to disable back button in the browser (javascript should support in all browser) using javascript or php

View 3 Replies View Related

'X' Button At Browser... Can I Add Script To It? Or Disable It?

Feb 8, 2007

can i add some simple function at the 'X' button (close button) on the browser which will check whether user enter all fields and if not, prompt them to enter.

(i wanna do this so user cant close the window in half way of the form process)

or is there anyway to disable it? or open a window without the title bar?

View 5 Replies View Related

Disable Dragging Files To Browser?

Nov 4, 2010

I've been tasked with the javascript and layout for an application that uses the browser engine (embedded browser I supposed it is). So it's not the actual browser, it looks like an application. Problem is, you know how you can drag and drop an image or html file into a browser and it will open it? Well, can this be prevented via javascript?

View 4 Replies View Related

Safari Browser Disable Control + Click

Jul 23, 2005

I would like to disable the ability of the user hold control and click
and get the dropdown menu. I am ultimately discouraging users from
easily getting a copy of the image. I was able to do this and disable
dragging on all browsers I have tested except Safari (Mac).
Code:

View 5 Replies View Related

Disable Refresh Button / Menu Of Browser?

Nov 10, 2011

I want to create some web pages in asp.net on which I want to avoid the user to refresh the page.

I have disabled the refresh options using key board event which are as follows:
1) F5
2) Ctrl + F5
3) Ctrl + R

But I want to avoid user clicking on the Refresh Button of the browser.

how can we disable the Browser Refresh button/menu using Javascript?

View 2 Replies View Related

Checkbox Disable Field Browser Back

Oct 19, 2006

I have a form with some text fields that are disabled UNLESS a checkbox is checked. Initially the text fields are disabled and the checkbox is unchecked.

The code is something like this:

Code:
function disableTextbox() {
if (chk.checked) {
txt.disabled = false;
} else {
txt.disabled = true;
}
}

<form action=something.cfm>
<input type=checkbox name=chk onclick=disableTextbox();>
<input type=text name=txt disabled>
<input type=submit>
</form>
When the form is submitted, some validation is performed. If anything fails, I display an error message and show a link to go back (history.back).

The problem that I am having is that when you click on the link to go back, the checkbox on the form is checked, but the text fields are disabled.

You have to re-click the checkbox to update the text field.

View 3 Replies View Related

Disable Browser Close Button Using Script?

Aug 11, 2010

I want to disable the browser close button using java script .

View 2 Replies View Related

User Can Close The Browser Or To Open The Window Browser Without Or With A Disable Close Window Button?

Apr 5, 2009

I need to know if the user close the browser or to open the window � browser without or with a disable close window button How can I???

View 6 Replies View Related

Disable Up / Down Arrow Keys In Mozilla Firefox Browser

Aug 21, 2009

I got this problem while disabling Up/Down arrow keys in Mozilla firefox browser useing javascript Given a standard HTML select/option box, I can capture any keypress while the select has focus and stop the select�s option list from changing values in IE but not in Mozilla.

[Code]....

In IE and Mozilla I have no trouble capturing the keyCode, and in IE I can prevent pressing a letter "D" and Up/Down arrows from making the list move to Dead, but the select list will drop to �Dead� in Mozilla. I've tried attaching the event handler to keyup, keydown and keypress, but have yet to find a way in Mozila to capture the keypress and prevent the select list from changing the current selection.

View 6 Replies View Related

Cross-browser (IE, FF, Opera) Disable Text Select

Oct 16, 2007

I am trying to make a webpage where I wish to disable text selection on entire body without affecting text input in a form by user. Though I found a couple of javascripts on the net, they don't seem to work with all three browsers (IE, FF, Opera). Code:

View 5 Replies View Related

Disable Only The Horizontal Scroll Bar In A Browser Window On A Site With Frames?

May 11, 2004

if there was a script to disable only the horizontal scroll bar in a browser window on a site with frames?

View 7 Replies View Related

Temporarily Disable The 'submit' Button While The Browser Is Loading And Then Reactivate It Once Everything Has Finished Loading

Jun 8, 2011

I have only started to learn HTML, CSS, and Javascript (roughly 2 weeks now). I am having a issues regarding when I submit form data to the server. I want to temporarily disable the 'submit' button while the browser is loading and then reactivate it once everything has finished loading. This was my attempt at doing this.

[Code]....

View 1 Replies View Related

Capturing Ctrl N

Jul 23, 2005

Is there any way to capture the action Ctrl+N (whether it in a hidden
button or keyword - doesn't matter) in html, javascript or php?

View 6 Replies View Related

Detect CTRL + V

Jul 23, 2005

How can I detect the press of CTRL + V in an input of type text?

View 4 Replies View Related

Disabling CTRL-N In IE7

Apr 24, 2009

I am using the following code for disabling Ctrl-N in IE7. It disables the Ctrl-N feature of IE which opens a new window containing the same page as the 'active' window. The code works great (at first glance). However, I noticed that, if you click anywhere inside the browser window and THEN press Ctrl-N, the new window will open. If you don't click anywhere inside the window, the following code works. Can anyone see an improvement to the following code so that clicking inside the browser window doesn't bypass the javascript?

View 2 Replies View Related

JQuery :: Using The Selector With The Ctrl?

Jul 6, 2010

I would like to bind a set of data inside a repeater and be able to use the selector to select 1 or more then 1 values?

View 8 Replies View Related

Move From Onelist Box To Another Using Ctrl Key?

Apr 16, 2009

I am working on copying from one listbox to another. The value should not be removed from first list box. I am trying to select multiple values using ctrl key for copying. can someone give some idea or sample code for this.

View 6 Replies View Related

Getting Ctrl Key Without Click Event?

Jan 23, 2011

I am writing a callback functions that fit into a framework. Unfortunately, the framework does not provide any means of getting the initial onclick event. So, I tried doing the following to see if the ctrl key was pressed:

var ctrl=(window.event&&window.event.ctrlKey);

This didn't work. Is there a way to know if the ctrl key was pressed after the fact?

View 1 Replies View Related

Capture Event When Ctrl Key Is Pressed

Jul 20, 2005

I want to capture the event when the <ctrl> key is pressed.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved