Questions tagged [intercept]

A programming interface for intercepting input device communication.

461 questions
4
votes
0 answers

In Angular how to intercept and change content from ng-content?

In Angular, how can I intercept a content coming inside a Component through ng-content and change it before it get's rendered and added inside the ng-content element? Using fake code, this is what I would like to achieve: @component({ selector:…
Fabio Nolasco
  • 7,122
  • 6
  • 35
  • 32
4
votes
5 answers

How to enforce constraints between decoupled objects?

Note - I have moved the original post to the bottom because I think it is still of value to newcomers to this thread. What follows directly below is an attempt at rewriting the question based on feedback. Completely Redacted Post Ok, I'll try to…
fostandy
  • 4,282
  • 4
  • 37
  • 41
4
votes
3 answers

Remove intercept from GLM with multiple factor predictors

I am running a binomial logistic regression with a logit link function in R. My response is factorial [0/1] and I have two multilevel factorial predictors - let's call them a and b where a has 4 factor levels (a1,a2,a3,a4) and b has 9 factor…
MiMi
  • 548
  • 1
  • 5
  • 8
4
votes
1 answer

How to create XWalkWebResourceResponse?

I am looking for a method to create XWalkWebResourceResponse. My case is following. I am creating custom XWalkResourceClient client that will intercept all network requests. All request that should be intercepted comes back as abstract wrapper -…
Tom Koptel
  • 309
  • 1
  • 9
4
votes
3 answers

How to intercept a method in java

Here is the method: public static boolean startModule(Module mod, ServletContext servletContext, boolean delayContextRefresh) Here is the method call in a java file: WebModuleUtil.startModule(module, getServletContext(), false); I cannot make any…
4
votes
3 answers

How to intercept each trying to use API function in C#?

i need to block any screen capture software on the computer from taking screen shots. Since all of them are work on standard API-functions, i think i could monitor and block them. I need to use C#. All i have found is how to monitor and block them…
StewKlimp
  • 49
  • 1
  • 6
4
votes
1 answer

R find angle between two lines, when have slope and intercept coefficients

I have timeserie: x 4557 9940 9855 9894 10142 9501 9532 9229 9169 9214 9347 9176 8951 9344 9873 9970 9139 9420 9476 9205 9271 8632 8730 9336 9150 9601 10012 9841 9951 9222 8799 9316 10087 9677 9154 9019 10549 9629 …
Marta
  • 3,493
  • 6
  • 28
  • 43
4
votes
2 answers

Conditionally intercept a mouse click in Autohotkey?

I want to have a script which will intercept a mouse click and send a key press instead, but only when the capslock key is toggled on. I want the mouse click to be sent normally if the capslock key is toggled off. Currently I have made…
Sakuya
  • 660
  • 5
  • 23
4
votes
1 answer

Plot and report X intercept from linear regression - R

I am using lm in r for linear regression. I would like to plot and report the x intercept. I know that I could use algebra and solve for x by setting y = 0, but is there a way to have r report it to me? Also, how can I 'tell' r to plot the x…
nofunsally
  • 2,051
  • 6
  • 35
  • 53
4
votes
0 answers

Anyway to capture form data via POST method on Android WebView?

This question has been brought up a ton, but I have not found a clear answer. I'd rather not take the JS injection approach, because I feel that I should not have to... Basically what I'm doing is making an Android application that will act as an…
ZeroHour
  • 241
  • 5
  • 13
4
votes
0 answers

Android: How do I intercept a touch event on a DialogFragment?

How do I intercept a touch event on a DialogFragment before it is dispatched to the dialog ? When I want to intercept a touch event on an Activity I override dispatchTouchEvent(MotionEvent ev) for that Activity. How can I do something similar for a…
andreea
  • 3,425
  • 2
  • 18
  • 10
4
votes
1 answer

How can I intercept a method call in Boo?

Ruby has method_missing , Python has getattr. Does Boo offer something I can use to intercept method calls?
Geo
  • 93,257
  • 117
  • 344
  • 520
3
votes
1 answer

Instrument a .NET assembly in order to capture unit tests

I would like to automatically instrument a .NET assembly so that calls to certain functions and the returned results are logged as a means of creating unit tests from whole system tests. How might this be accomplished?
J D
  • 48,105
  • 13
  • 171
  • 274
3
votes
0 answers

Node.js - help intercepting packets

I have the following Node.js proxy (http://www.catonmat.net/http-proxy-in-nodejs/) which I can print out packets from: var http = require('http'); var util=require('util'); var net=require('net'); var…
Eamorr
  • 9,872
  • 34
  • 125
  • 209
3
votes
1 answer

Intercept and send keystrokes with Python on Linux

I'm looking for a way to intercept all keyboard signals before they reach the active application. I then want to interpret and map the keystrokes before sending them on to the currently active application. A Python library would be great, but C/C++…
TheEzEzz
  • 177
  • 6