Questions tagged [javascript]

Questions about JavaScript are generally OFF-TOPIC here. You might be able to find your answer at Stack Overflow.

Filter by
Sorted by
Tagged with
-1
votes
0answers
8 views

How do you automate Google Chrome console activity at computer start-up?

How do you automate Google Chrome console activity at computer start-up? I have a javascript code that runs fine in Google Chrome's console. I was trying to automate the process of 1) opening Google ...
0
votes
1answer
1k views

Pre-fill Form using URL Parameters

I have been working on pre-filling a Cognito Form based on a customers answer to a different form on our website. I have gotten to the point where the JS variables contain the strings I would like to ...
0
votes
0answers
7 views

How we can download a secured PDF embedded with javascript in a web page

More specifically from "http://krishikosh.egranth.ac.in" it is a repository of Thesis. As new thesis are uploaded, they are provided with a certain time limit before they are accessible. ...
0
votes
0answers
19 views

HTTP GET to Binance API via Google Script [migrated]

This might be related to the following topic. I understand that I should not add a BODY to a GET, but it doesn't seem to solve my problem. I am trying to reach Binance API's avgPrice through Google ...
-1
votes
0answers
10 views

How to build an online editor that people can collaborate on like google docs? [closed]

I'm taking a programming course on edx. As my project, I want to make an online editor that helps people edit things collaboratively. It will be a basic google doc like a tool. How do I go about ...
-1
votes
0answers
7 views

How to receive a JSON response from a HTTP request with JavaScript?

Inside my HTML basic structure after tag I insert a tag with a HTTP request and can't manage to receive a JSON response. Can you help ?
0
votes
0answers
7 views

WordPress Javascript program works correctly when in preview of editing, but not when posted

In a WordPress post there is a Javascript program that when in the edit format then put into preview works perfectly fine, but when the post was posted then the program didn't work correctly How ...
0
votes
2answers
37 views

Allow users to make yes/no decisions using checkboxes

I'm looking for a way my users can interact with my scripts. I'd like to use checkboxes to work like a "yes/no" command, where the script does "A" if the checkbox is ticked, and &...
-1
votes
0answers
19 views

How can I sort the posts of a facebook group in chronological order on mobile?

To sort a facebook group in chronological order on the desktop site, this works: https://www.facebook.com/groups/python?sorting_setting=CHRONOLOGICAL However, this does not work for the mobile site: ...
0
votes
1answer
400 views

How to get correct TimeZone in googlesheet using script?

I have wrote following script in my google sheet hoping to convert a timestamp in GMT to a customized timezone. function myFunctions(datetimeString,timeZone,format) { var moment = new Date(...
-1
votes
0answers
32 views

How to handle multiple server responses in one client request (NODE)?

Hi I'm in a situation where I don't know what is the right/best approach I'm looking for. This the sequence of events I'm looking for: User enters some data in a FORM to find a job On submit -> ...
0
votes
0answers
18 views

How we can download a PDF embedded with javascript in a web page [migrated]

More specifically from "http://krishikosh.egranth.ac.in" it is a repository of Thesis. Previously IDM was able to capture all the pdf requests but now some Coding has been changed and its ...
-1
votes
0answers
10 views

How can I give a website that created by me on html, css and JavaScript to my customer without giving him the source code

I am gonna start freelancing as a website developer soon. So I wanna know that how can I deliver the website to my customers without giving him the source code. Or can I compress the hole website ...
0
votes
0answers
19 views

How to capture a Google Closure Tools event and set off with keyboard shortcut?

Gmail is run with the "Google closure Tool" and there are a couple of functions I would like to be able to manually set of myself, maybe with a keyboard shortcut. I cannot work out the order ...
-1
votes
1answer
116 views

Custom button or bookmarklet to toggle Conversation View On/Off

I'm trying to write a script that will add a button (or even use a bookmarklet) to toggle Conversation View on and off. This works, some of the time, to do the toggling: window.location.href = "...
-3
votes
0answers
8 views

What's the best website building tool?

I am trying to make a blog and not just a random hobby blog, the blog is actually for a brand - Hosting and SEO solution providers. So, SEO is a main factor here. The website should be lite, seo, ...
1
vote
1answer
39 views

Automatically Merge Group of Cells Below a Text Value

I'm building out a scheduling assistant; the look is great, but it is very tedious to Merge & highlight each schedule block individually, so naturally I turned to Apps Script. I'm entering ...
0
votes
1answer
20 views

How to Jump to Column Based off of Cell Value

My expected result is very simple - I have used data validation to place a list of column titles in a cell. When a user selects a column title and clicks the button, I want them to be taken to the ...
0
votes
3answers
790 views

Working With Durations In Google Apps Script

I'm trying to write a function in Google Apps Script to manipulate durations calculated in Google Sheets. The cells holding the durations look like: 18:40:00 26:42:01 When I pass a duration into my ...
1
vote
1answer
18 views

How do I change the font colour with keyboard shortcut in Gmail compose?

I often email responses inline to questions. In order to differentiate my response, I like to give them a colour. This is quite onerous in Gmail, with about 3 clicks to get a colour applied. I would ...
1
vote
1answer
41 views

How to set all checkboxes to FALSE in a specific column without losing formulas

I'm looking to reset all TRUE checkboxes to FALSE using a script. However, this column also has formulas I want to keep in certain cells (they are NOT checkboxes). Is it possible to alter so that ...
-1
votes
1answer
25 views

How to make custom buttons in HtmlService to trigger the Import or Print links in Google Sheets

I am using an HTML function (HtmlService.createHtmlOutput) to show my custom buttons in a popup or sidebar within my google sheets. But I am simply trying to make custom buttons to invoke the already ...
0
votes
1answer
105 views

Youtube player shortcut or extension to change to next higher or lower video resolution

I watch general videos on youtube at 720p and programming/ tutorial videos at 1080p I have searched a lot and its almost certain there is no keyboard shortcut to jump to the next higher/ lower video ...
3
votes
0answers
49 views

How to inject code into Gmail

Gmail has Social and Promotions tabs that regularly have advertisements at the top of the list. After playing around with the console, it was discovered that running $("li[data-tooltip='Delete']")....
0
votes
1answer
46 views

Switch between different Tab´s

I have a problem. I need some values from Spreadsheet2 (Tab2), in Spreadsheet1 (Tab1). Tab1 and Tab2: I don´t know the URL from each Spreadsheet, they are unknown. How can I switch between these ...
0
votes
0answers
17 views

Inserting NOT A HTML code into CLASSIC Google Sites

Recently, I was developing a classic Google Sites, but wanted to add a RevolverMaps Widget. The widget I was using was RevolverMaps Standard GL (you can search for revolver maps on google and click on ...
0
votes
1answer
5k views

Exporting Google SpreadSheet to PDF (filename referring to a cell D7)

I have developed a script which allows me to export a spreadsheet to a pdf file with a click of a button. I have assigned the script to a macro so that it is triggered by clicking on an image. Script ...
1
vote
1answer
25 views

How to Hide/Show Different Rows based on MULTIPLE cell values

I've read through countless different posts that are similar to this topic, but have yet to find something that really solves the exact issue I'm looking to fix. My script currently reads the value ...
1
vote
0answers
31 views

Create a function to upload and import spreadsheet file to google sheets?

I have successfully created a button to execute a function that will actually grab the file off on my computer. But will not to completely import the data of that file into a new sheet tab. My ...
0
votes
0answers
10 views

Firebase emailVerified variable isn't changing after clicking the confirmation email

am using firebase with ReactJS, after creating a user I am sending a confirmation email, after clicking the link, the variable emailVerified remains false no matter what I try. Here's the code where ...
0
votes
0answers
9 views

¿Como puedo crear una variable JavaScript desde mi pagina web y que quede para siempre?

¿Como puedo crear una variable JavaScript y que quede para siempre? Osea desde mi web yo escribo en una caja de texto y luego aprieto un botón ¿como hago para que ese nombre que escribí en mi pagina ...
2
votes
0answers
84 views

How to Group Set of Rows & Skip One Every Time

I'm currently working in a Google Sheet that has about 12,000 rows. Because of the layout, I want to group every 5 rows, then skip one, then group the next 5. Right now, I have as script that is ...
1
vote
0answers
10 views

How can I add a “running total” for a question based on choices for a question (or actually, multiple questions) in Qualtrics?

This link shows what I'm talking about trying to achieve (but for multiple single-choice questions): https://www.qualtrics.com/community/discussion/5204/can-i-create-a-question-that-sums-the-numbers-...
0
votes
1answer
64 views

Using ICEcoder on a GitHub page

I know that this something that I should know but I haven't found anything similar from Google so I am asking here. Is there a way to add Monaco to my website as a sub page and if so, how do I do ...
0
votes
1answer
28 views

Send a Google Forms notification to two differenz email addresses based on

How can I send an automatic email notification to two different email addresses depending on whether a woman or a man has filled in the form? Please can someone help me with a script to check this ...
1
vote
0answers
23 views

Import Google Doc data into a Google Sheet

I have a spreadsheet which has all my data for a mail merge. At present, I have simple text in a single cell to create the template for my email. It looks a little something like this: "Hi ${Name}, ...
0
votes
0answers
24 views

Copy Full Range of Cells to New Tab

Forgive me if this has been answered, I've been searching various posts but still cannot figure it out. I'm looking to copy a range of data from one tab to the next in the first blank row. I've ...
25
votes
7answers
13k views

How to use Google Tasks on the web standalone?

I'd like to use Google Tasks without having to open Gmail or Google Calendar or Google Docs. How can I do that? It used to be possible with mail.google.com/tasks/canvas
1
vote
1answer
982 views

How do I make this Google Sheets Script faster

function getCellValue(){ var x=2; var y=2; var targetSheet1 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Sheet1'); var targetSheet2 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('...
1
vote
2answers
7k views

Loop through all sheets, except for specific sheet names

I found the following code and want to use it to loop through all the sheets expect a few (that I don't want it to go through). My question is how can I edit this code in such a way that It does not ...
0
votes
1answer
72 views

Google Apps Script Javascript compatibility error

I have successfully created some code to extract data from a 2D array using A1 notation. Handy to avoid multiple calls to GAS services whit ordinary getRange calls. While the code perfectly works in ...
1
vote
0answers
19 views

Manipulate an OpenStreet on sl.se to take a screen shot?

On http://sl.se there is a map displaying the public transport network in Stockholm. The default view looks like this: showing mostly train and underground stations as well as boat stops. Zooming ...
0
votes
0answers
11 views

Finding a cell value based on row and column

I have a little problem that might not be solved just with formulas. And I am not so advanced in JavaScript yet. I have a list of products, our salesmen, customers and time when and how much the are ...
7
votes
1answer
3k views

Link to no framed HTML in jsBin or jsFiddle

Is there a way in jsBin or jsFiddle to get a link to the page you created as is, without being embed inside a frame? If not, is there such service (something that would let me quickly create an HTML ...
1
vote
1answer
49 views

Friendly Team vs. Enemy attack math and complicated functions in Google Sheets

How would I go about writing a function in Google Sheets? If Friendly Team Hero Power P2,P4,P6,p8 etc. is greater then Enemy Team Power "T2:T15" Else Don't match it and instead look for titan, Same ...
0
votes
0answers
14 views

Google Sheets row automatically moving

I have a google sheet in which each row is labeled with a date (all dates, in order). I have an undated row that I want to appear immediately under today's date, so I want it to move down one row ...
0
votes
0answers
274 views

Google app script on how to create a pdf from the data received from an html form of its spreadsheet and send the pdf file via email

Google app script on how to create a pdf from the data received from an html form of your spreadsheet and send the pdf file via email - I would like to create a pdf file from the data recorded on the ...
0
votes
0answers
55 views

What would one create to do what Google Apps Script does?

What is a homemade Google Apps Script alternative I can host? I don't know what this kind of app(?) is called. Specifically, I use a Google Apps Script to receive webhooks from Quickbooks, immediately ...
0
votes
2answers
814 views

The script does not have permission to get the active user's identity

Anyone know why this caused The script does not have permission to get the active user's identity.? I don't have any functions that asks for the user identity. So I'm a little confused. function ...
-1
votes
0answers
43 views

Change interpolation javascript from vertical to horizontal

I would like to make this script work horizontally. This code is from another answer here, but I have not been able to make it work horizontally. I need to use it across columns in one row, ...