Is there a way to monitor click events on bookmarks in google documents with google apps script? I want to get bookmark id when someone selects a bookmark and than run some more code which needs that bookmark id to get processed.
Monitor click events on bookmarks (Google Apps Script)
272 views Asked by Silko At
1
There are 1 answers
Related Questions in EVENTS
- Stop propagation of javasript/leaflet click event that starts in one element and ends in another
- Detecting click inside and outside of the listening component in Angular
- How to use mocha unit test chokidar watch events
- writing event_management in unity
- Where to put event handler method of an inherited class in C++ Builder?
- Event_date reference in CTE
- WinForms, event unable to subscribe from a custom class
- How to intercept a request made by a form submit in JavaScript?
- Communicating from Parent to Child in Blazor
- How to Customize Sitecore Copy operation
- grand parent is handling custom event emitted instead of parent in Angular 17
- jquery not capturing all input value changes
- Is there a way to force the focus on a determined window tab?
- How to watch user browsing activity from a background service?
- Trigger Once in React native
Related Questions in GOOGLE-APPS-SCRIPT
- How to use custom font during html to pdf conversion?
- parameter values only being sent to certain columns in google sheet?
- AppScript to replace image in google slides
- Email Sent Using AppScript Appears in Sent Box, but does not appear in Recipient's Inbox
- Update a MySQL row depending on the ID in Google Sheets Apps Script
- Would like the script to return the PDF letter via email with the sheet name not the spreadsheet name
- App script to prevent duplicate form submission
- Redirect Users to another website using GAS
- How do I create a Line Graph on App Script?
- Error (Status of 500) and X-Frame-Options with google apps script redirect function
- How do I add the Luxon library google sheet script
- AppScript For Google Form
- google sheet script to convert the Scientific notation in the selected area to number
- onEdit() 'row is not defined' error using checkboxes
- Regex expression not working on Google Form
Related Questions in ONCLICK
- How do i get my close button to work on a popup?
- astro onclick event not calling the function
- Not reading the function in a JavaScript Module file, by calling onclick in the html document
- How do I get the close button to work after popup has appreared?
- How do I create a popup based on click?
- I'm did POST method for DELETE with correct parameters and URL in React application but receive 400 Bad request error. Can it be server side issue?
- In python3-flet script, how to remove a button after click?
- javascript, why you can't add onClick in HTML string, before you add this HTML string to DOM?
- Using Javascript to change a div's text depending on what button is pressed
- Using two buttons with onclick events that continuously change each other?
- Google Translate not translating without refreshing the page
- How do I use HTML5 and jQuery to properly point to style sheets using onclick SwapStyleSheet in a folder "css" instead of working all in 1 folder?
- Why does my onClick event fire every time the React component renders?
- How to prevent single click when double click on react
- Why does my Blazor page stop working after succesfully performing an action?
Related Questions in CLICK
- Intersection Observer not acknowledging new items added on click
- why preventDefault, stopPropogation, stopImmediatePropogation dont work with some elements?
- i have to click on button using js ,unable to do it
- Selenium Click and Page Load issue in AWS fargate with 24 chrome nodes and 2048 CPU and 1024 memory
- How to click on a Bootstrap 5 range field at a given positional value with Capybara-Selenium?
- Scrolling causes click (on_touch_up) event on widgets in Kivy RecycleView
- How do I automate a button click, found under a shadow root, using Selenium in Python?
- New MEV Bot on Solana. Need a program to automatically click prompts
- Impossible to click on element on iOS devices for Appium XCUITEST driver
- Detecting touch coordinates, while letting the click go below (Android Studio)
- Using Javacript, Button element properly selected but .click() happening though event successfully triggered
- How to clone an element on click in React.js
- Javascript: this is undefined inside jquery click function
- How can I detect a click outside of an element, which is initially hidden, in vanilla JS?
- Right click press/release detection on MAUI
Related Questions in BOOKMARKS
- How to create a bookmarklet to change maxlength of an input box
- Issue with script to inject bookmarks into Edge (Chromium based) and Google Chrome
- Unexpected backend calls in Visual Studio when hovering over bookmarks in Opera
- Bookmark feature misbehave when hovercard feature is implemented in typescript
- Save a Bookmark which can open 2 URLs one after another
- Is it possible to use env variables into a local file URI protocol?
- How do I move bookmarks from operasync to visible toolbar?
- Copy Data from Excel to fill into Word Templates with Bookmarks
- Disable/Enable Multiple 'between' Date Slicers
- Modifying a file saved as bookmarkData in iOS SwiftUI
- Google Chrome Highlight nofollow links Javascript
- Multiple bookmark and formfields replacement from excel to word not working anymore
- In Laravel, how to redirect to target page after being intercepted to Login
- Insert tables and other content at certain bookmarks using python docx library
- How to replace the content set by bookmarks in Word using POI?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
With Brian Bennett's help I managed to solve this issue with Web Apps. There is a little bit more code to write but it works.
doGet function is called when a user visits your Web App. With doGet function I opened a document with ID given through get parameters and displayed it as html. To get a html of the document I used this function.
You can find bookmarks in the html of the document as html tag with id of the bookmark. I changed the css of all this tags so I could see them (change background, height, width or something like that).
Listen to click events on those tags (bookmakrs) with jquery or javascript. If you use jquery, you need to import a jquery library. When click event happens get the id of the bookmark from the id attribute of the tag.