The customer I'm making an app for would like to prevent the user from capturing some of his pictures. I don't think this could be done but better making sure...
I'm building an firebug-like inspection tool for my page. When the mouse enters an element, the element should be highlighted.
Now I'm creating an element which I position absolute on top of the target element, this however means the next mousemove event (which is bound to the document) will fire with the actual "highlight element" as the target.
Is there a way to prevent the "highlight element" from being the target element in the mousemove event? The element already has a transparant background.
Is there a particular flag that we can use to prevent apps
showing up in marketplace which require the phone to have a camera
flash /LED? Typical apps are ones which make the phone act like a
torchlight in dark. I have seen a tag which prevents apps requiring
autofocus in a camera from appearing in the marketplace.
Just looking to find out if there is something similar for camera
flash.
Is there away to prevent eclipse from rebuilding the entire project every time I change an entry in the class path. Unfortunately, I have to play around with the build path often and rebuilding the projects takes a long time (easily 20-30 mins). Is there away to avoid this?
The situation:
Each user has their own public HTTP directory, meant for images only. This could easily be abused by users using it to serve large files, wasting bandwidth.
The question:
Is there any fairly simple way to prevent this abuse? Either by allowing the webserver to only images to be served, restricting size, or some other method.
I'm building an firebug-like inspection tool for my page. When the mouse enters an element, the element should be highlighted.
Now I'm creating an element which I position absolute on top of the target element, this however means the next mousemove event (which is bound to the document) will fire with the actual "highlight element" as the target.
Is there a way to prevent the "highlight element" from being the target element in the mousemove event? The element already has a transparant background.
How do I prevent SQL injection when it comes to ColdFusion? I'm quite new to the language/framework.
Here is my example query.
<cfquery name="rsRecord" datasource="DataSource">
SELECT * FROM Table
WHERE id = #url.id#
</cfquery>
I see passing in url.id as a risk.
I have a full screen UIWebView component on the screen with fixed size content, so no scrolling required. When I nudge the screen the content in moving up or down.
The same effect can one experience all over the iPhone when there is a scroll-enabled component.
I would like to prevent this happening in my application. Please shed some light...
I'm building a little dialing program for my kids so that only 4 "safe" numbers are available for them to dial. I'd like to start the app, hand them the phone and have the app be the only thing running until they come back home.
Is there a way to keep the application running and prevent the iPhone from shutting down the app?
Given is a form that is followed by a confirmation page where you have to confirm you entered data of previous form. Now if the user refreshes this recapitulation page, the data form the previous form reposts. Is there a way to prevent that in JavaScript?
I know its not a ideal solution, it should happen on the server side. But i have no choice in this case.
Is it possible to prevent a user from editing the title of a node on the node edit screen?
One of the things I really detest about Drupal is the rigidity of the title & body field in each node.
I work with Magento applications, and i'm on kind of situation:
When user load some stores that have mutch information/jquery need lot of server process, if the user refresh the store mutch times pressing F5 the server get too mutch slow and difficult to use the store.
I need prevent this F5 'hack' slow my server, what i can do?? I think some kind of javascript/php solution.
But i want you opnion.
Ty all in advance.
Is there a way to prevent a component from rendering in Flex (to save memory or processing power)?
I tried doing something like:
<components:AddNewItemGroup id="addItemGroup"
visible="false"
enabled="false"
horizontalCenter="0" bottom="0" />
I noticed that the component gets rendered but it's just not visible or functional.
I'm trying to build a simple music player with a ListBox playlist. When adding audio files to the playlist, it first fills the ListBox with the filenames and then (on a separate thread) extracts the ID3 data and overwrites the filenames with the correct Artist - Title information (much like Winamp).
But while the ListBox is being updated, it's unscrollable, as it always jumps to the top on every item overwrite.
Any way to prevent this?
I have two wxListCtrl and want to process the Ctrl+Enter keyboard event without letting wx change the focus to the other ListCtrl.
I have event handlers for wx.EVT_KEY_DOWN, wx.EVT_KEY_UP, wx.EVT_CHAR and KillFocus, but KillFocus is always called first, then the focus changes and the the keyboard handlers are called for the wrong ListCtrl.
Is there a way to prevent wx from changing the focus, when Ctrl+Enter is pressed ?
I have a form into which the visitor can enter data, and I want to store this data in a mysql database via the $_POST variable. What do I need to prevent sql injection?
Hi, using iphone SDk3.0, how does one prevent the iphone from sleeping so wifi remains
on but still allow the screen to be dimmed(locked).
Disabling the idle timer is no good as that prevents screen lock and drains the battery really quick.
Thanks
I'm turning off the monitor using SendMessage(HWND_BROUADCART, WM_SYSCOMMAND, SC_MONITORRPOWER, 2).
That works, but the monitor turns back on when someone touches the keyboard or mouse. I tried to get rid of this using the DevicePowerSetDeviceState function with DEVICEPOWER_CLEAR_WAKEENABLED for the keyboard and mouse: it returns no error, but has no effect either.
How can I prevent the monitor from powering back on in Vista and Windows7?
Is there a way to prevent the usage of the default constructor?
All I can think of is throwing an exception, but I would like something that causes a compile time error.
I have a UITableView with a custom header that maintains some state. When I call reloadData to change/update the data in the UITableView, the header gets reloaded too. Is there any way to prevent this behavior in order to maintain state in the table's header?
I try to prevent the Browser from using the :hover effect of the CSS.
$("ul#mainFilter a").hover(
function(o){ o.preventDefault(); ...do my stuff... },
function(o){ o.preventDefault(); ...do my stuff... });
I tired it with return false; to but it does not work.
Does anyone know how to do this?
If I deploy a solution at farm level, is there a way by which i can prevent the owners of the various site collections from activating the features present in that solution?
Hi all,
I have a javascript that dynamically creates many <img> tags, and appends them to various divs.
I want to prevent these images from wrapping; when the screen resolution is not enough to contain them the browser should create horizontal scroll-bars.
Sorry for this bad English.