Skip to main content
-1 votes
0 answers
27 views

Security good practices on event injection using Chromedp [closed]

I am running Chrome and driving it with Chromedp in a server application. I need to receive client requests of keyboard and mouse events and trigger these events on chrome. The requests come in json ...
vuco's user avatar
  • 151
0 votes
0 answers
20 views

Should an error be returned by subscriber when processing a message in an event driven architecture

We are implementing a message broker, and working through some details about subscriber response expectations. In the event that the subscriber cannot validate the incoming message (or some other ...
reuscam's user avatar
  • 1,841
0 votes
0 answers
14 views

Trigger text selection UI in iOS Safari when selecting text programmatically

In iOS Safari, I'm able to select text programmatically using the following code. However, the text selection UI (selection handles and blue overlay) don't show, unless the user has already manually ...
Samuel Bradshaw's user avatar
0 votes
2 answers
158 views

Getting Uncaught TypeError: Cannot read properties of null (reading 'value')

When trying to console log a variable I declared inside of my event function, my console is shooting back this error Uncaught TypeError: Cannot read properties of null (reading 'value') at ...
Waskar Paulino's user avatar
0 votes
0 answers
9 views

Any way to replace the exit intent prompt from the beforeunload event with a custom modal? [duplicate]

When any user open a certain page, a request is made to change some status in a database, and I want to revert this status if the user closes the page without using the "save" button. To ...
gustop01's user avatar
0 votes
1 answer
61 views

Array push() is losing elements added by the class listener

The code should draw shapes class CircleFade one after another continuously. Each shape should be drawn over 100 cycles, then a new shape should be generated and the process repeated in the chain. A ...
user2689323's user avatar
0 votes
3 answers
87 views

How to iterate a node-list in order to assign index-specific event-handlers to each element-node?

I'm trying to use a for loop to increment through multiple button elements so I can assign different actions to them. I cannot figure this out, Here is the code. I am very much new to javascript and I'...
Jawad's user avatar
  • 3
0 votes
0 answers
78 views

Refused to execute inline event handler due to Content Security Policy (CSP) in Chrome extension

I’m building a Google Chrome extension that manages bookmarks on the new tab page. Everything works fine except for an issue with the removal of bookmarks from the favorites list. When I click the “...
Berk's user avatar
  • 85
0 votes
0 answers
23 views

Enabling both touch and click event on a leaflet control

I must start off by admitting that all this is super-new to me. I have created a custom control to show info about markers. The control creates an info panel that is enabled for both touch (on devices ...
punkish's user avatar
  • 14.9k
0 votes
0 answers
66 views

Python - Solutions to iterating over a dynamic variable name

The layout of my dialog box the error I am attempting to create an application where I dynamically generate number of checkboxes (the number of checkboxes depends on the number of unique items in a ...
MikeB's user avatar
  • 1
0 votes
1 answer
48 views

How to add event listener to the google form

I am developing an extension for my personal use. It will store the information that I fill in a google form. The issue I am facing is that the submit button in google forms is actually a span with ...
Rizul Bhardwaj's user avatar
0 votes
2 answers
73 views

DataGridViewCellPaintingEventArgs: Infinite repainting loop?

I'm trying to customize certain cells in a WinForms DataGridView, but I'm running into an issue where the painting event is firing over and over again non-stop forever, even when not scrolling through ...
Bighead's user avatar
  • 75
0 votes
1 answer
40 views

Mouseover event doesn't propagate as expected (Add Button effect)

I wanted to do a simple highlight on a button at the place where you hover over it, following the cursor. If anyone knows a way to do this without js that would be even better (found one crazy post ...
user7225932's user avatar
0 votes
0 answers
25 views

Integrate Blazor-Component in Razor-Page (*.cshtml) - Events

i want to implement a Blator-Component within a EventCallBack in a razor-Page (*.cshtml). Currently the component is shown and i can click the buttons inside the component with the correct reaction of ...
esehigs's user avatar
1 vote
1 answer
49 views

Attaching click event handlers in Astro pages

In the component template section of an Astro page, I am adding the following script: // src/pages/foo.astro <script> document.addEventListener('DOMContentLoaded', function() { const ...
antonio's user avatar
  • 11k

15 30 50 per page
1
2 3 4 5
859