Questions tagged [javascript]

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

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
53 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']")....
3
votes
0answers
1k views

Create a script to block all followers on Twitter (except those that you follow)

Early last year Clayton Lambert posted a script on his blog which allowed you to automatically block users following you that were using the default Twitter profile image 'egg'. var unList = []; ...
2
votes
0answers
107 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 ...
2
votes
0answers
369 views

How to pass a parameter allow= “geolocation” when embedding Google Apps Script in a Google site?

The target is to embed a Google Apps Script gadget into my Google site. The function of this script is to show a google map, determin the location of the client and center the map to the found ...
1
vote
1answer
16 views

Duplicate row values to next row, based off specific column

I'm trying to set up a button that will copy information from the last row and paste it into the row right underneath (based on where column D last has a value). Almost like a "duplicate" ...
1
vote
0answers
24 views

Setting Unique Data Validation using For Loop

Right now, I am manually adding data validation one by one to a column of cells. This is because each validation range is unique to the row. The validation list I'm looking to create should only ...
1
vote
1answer
40 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
0answers
60 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 ...
1
vote
0answers
12 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-...
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}, ...
1
vote
0answers
20 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 ...
1
vote
0answers
36 views

Google sheets script add data in next column

I'm trying to modify a script to create a PageSpeed report that pulls in certain KPI's from Google Pagespeed API. Once the data is received, i want it to place those KPI's next to the URL and so forth....
1
vote
1answer
190 views

How can I add “complex” URL attachments to a card via Trello’s API?

On Trello's API documentation, it is said that an urlSource parameter can be included while creating cards. This can be found here. I'm testing the API with JavaScript. The problem is that Trello ...
1
vote
0answers
26 views

How to Get Data from Multiple Cells and Combine into a Comment in another cell

I have a spreadsheet of orders (rows) that has room for 70 products (columns). I would like for a script to find every cell that has a value (0's are blank) and then write that value (this is the qty ...
1
vote
0answers
120 views

How can I add linkable anchors to Markdown headers on my Tumblr?

I'd like Markdown headers, like thus, ### Important stuff! -> <h3>Important stuff!</h3> to compile with HTML id properties, so they can be linked directly to: ### ...
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
39 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 &...
0
votes
0answers
20 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
0answers
15 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
10 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 ...
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
26 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 ...
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 ...
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
385 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
57 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
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 ...
0
votes
0answers
52 views

Customize dates shown in Gmail

I would like to customize the dates shown in Gmail's inbox view, so that all the emails received yesterday are shown as "Yesterday" instead of the date, and that the day before yesterday is shown as ...
0
votes
1answer
486 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(...
0
votes
1answer
266 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 ...
0
votes
0answers
56 views

Is there a way to just pull out all of a certain index without going through the results and rebuilding a 2nd temp array?

I've got multiple sheets with anywhere from 500 - 10,000 rows each that I need to find specific values in a given column. Ex. Sheet A, B, C have information about a bunch of products. I search for ...
0
votes
1answer
71 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
2k 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
432 views

How to browser/explore public jsfiddles?

How can we browse public fiddles?
-1
votes
1answer
38 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 ...
-1
votes
1answer
127 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 = "...
-1
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
votes
1answer
210 views

getEditResponseUrls - hyperlinks from second linked form not inserting

I am new to scripts, but I was able to find a one that uses getEditResponseUrls to insert the edit link from a form into a Google Sheet. I've now been asked to add a second sheet to my spreadsheet ...