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
-3
votes
0answers
7 views

how to make lazy image loader with minimum number of requests

I have a website full with images and the web site performance is so bad. I want to make the images load blurry then on scroll event the images will bi loaded. I'm using PHP and Zend framework I'm ...
-1
votes
0answers
9 views

How to develop a functional flatlist in react native supporting crud operations

I am developing an admin app for woocommerce and I am new to react native and use react-navigation and expo. How to update a view consisting of a flatlist of network fetched product list data ...
-1
votes
0answers
9 views

How to create a web based git?

Hello I was wondering how is it possible to create a web-based web app like github or gitlab for community/hobby and personal project, in Python or Javascript. I did try but I couldn't find any ...
1
vote
1answer
38 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
12 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
25 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 ...
-1
votes
0answers
13 views

Chrome Web Extension stops because of “Disable developer mode extensions” Chrome popup

I wrote a Web Extension which starts surfing specified websites automatically (to simulate/train user profiles by "collecting" website cookies) after the Chrome browser is opened. I know that you can ...
0
votes
0answers
53 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
21 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 ...
0
votes
1answer
24 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
42 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, ...
0
votes
1answer
32 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 ...
0
votes
0answers
37 views

PWA module in nuxt.js doesn't work on iOS and safari

I was trying to use PWA module in nuxt.js, so far I launched nuxt app on firebase server on this address below. https://quasar-d56d0.firebaseapp.com/ On chrome for android, windows and mac works ...
0
votes
0answers
50 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 ...
1
vote
0answers
28 views

Mobile Image Processing Web App [closed]

I'm tasked with developing a mobile app with image processing and object recognition capabilities. The app must be able to recognize multiple objects of the same type within 5 seconds or so. Would a ...
0
votes
0answers
21 views

How to stop users from sharing my videos with other users

So I have a video sharing site. I upload all my videos to youtube with the unlisted privacy and assign videos to selected users from the admin panel and it works perfectly fine but the only problem I ...
0
votes
0answers
17 views

Mark email unread without leaving it

When I Ctrl+click on an email in Gmail, it opens in a new tab, and there I can click "mark as unread" without leaving the email. When I just click on an email, then clicking "mark as unread" returns ...
1
vote
0answers
23 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....
0
votes
0answers
21 views

Creating direct link to access document in shared (Office 365 / sharepoint) folder

I need a way to access the access the following file via one-click. https://websiteName.sharepoint.com/folder/subfolder/document.pdf I have a link for guest access to the subfolder containing the ...
0
votes
1answer
179 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
vote
3answers
245 views

Using a script to only take only take cells with values in google sheets

tl;dr how can I make the script take an entire column (eg A:A) and then ignore the first (header) row, and any blank rows? Background I have an array in Google Sheets with date-ordered data (note ...
0
votes
1answer
219 views

How to timestamp on new added cells in LIVE google spreadsheet?

The code below insert timestamp in google sheet by editing another column. However, there an issue which I have no idea how to solve. When I add new row manually, it successfully adds timestamp, BUT ...
1
vote
0answers
23 views

How to automatically load expandable contents on a JSON web page? [closed]

I use QuoDB to find useful examples from movie scripts. It seems like a JSON web page and I'm looking for a way to show the results expanded without having to click on every "context" button. Is there ...
0
votes
1answer
41 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
1answer
100 views

How to search multiple sites with Google and get random results?

I'm trying to find examples of English collocations in a set of sites. I know how to search in multiple sites as it's been solved here before. search term site:A OR site:B OR site:C The problem is ...
1
vote
1answer
503 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('...
12
votes
7answers
4k 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
0
votes
0answers
236 views

Google apps script jdbc MySQL connection failure [closed]

I am attempting to connect to a hosted (not local) MySQL database using the Jdbc.getConnection method in Google apps script, but I'm repeatedly getting "failed to connect, check user name, password, ...
0
votes
0answers
92 views

URLFetch Being Called Too Often Google Sheets

I'm working on a google sheet for a calculator for a game. I have this script that automatically updates the price of a game item and I grab the API using URLFetch. However, every time I go to sleep ...
0
votes
0answers
10 views

Browser message alerts that open when you are in a diferent window [closed]

Facebook and other social apps show alerts for messages no matter what browser window I have open. This is different from standard JavaScript alerts, which only display when the user has that window ...
1
vote
0answers
94 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 ...
0
votes
1answer
78 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 = "...
0
votes
0answers
89 views

How do I find the value in the first column according to the edited cell? (Google Sheets)

I'm trying to create a sheet in the same workbook that will log changes that are made on the master sheet. Here is the 'Master List' where changes will be made: This following information needs to ...
2
votes
0answers
259 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
votes
1answer
141 views

Google Script Editor apply to all sheets except 1st, 2nd and 3rd sheet [duplicate]

Currently this code is only applied to the sheet called "Name" I wanted applied to all except for 3 sheets (Template,Summary and Count): function EqualValue() { var ss = SpreadsheetApp....
0
votes
2answers
701 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
vote
0answers
25 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 ...
0
votes
2answers
1k views

Jump to next empty cell in specific column

I'm writing a script where I need to take in a number attached to a name and team, process it as # of Rolls essentially, and then paste the results one by one into a running log. Each team will have ...
0
votes
1answer
2k views

How to make Google Sheets jump to closest date to today when opened?

I have a Google sheet containing a list of events, with event dates listed in one column. I'd like to have my Google Sheets spreadsheet jump to the closest date to today's date on opening (i.e., ...
0
votes
1answer
3k 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 ...
0
votes
0answers
53 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 ...
1
vote
2answers
14k views

How to format the time in this Google Apps Script

I want to format a Google Sheet cell when I read it in my script but it comes out 25 minutes later. The cell's time is 20:00:00 but the output is 20:25. I am using this var formattedDate = Utilities....
0
votes
1answer
53 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 ...
-1
votes
1answer
145 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 ...
1
vote
1answer
1k views

Adjusted script to look for column header name, not the numeric representative of the column

From this discussion, I have a script that nicely updates a column's cell with the date another column's cell was changed. This works well because the TODAY() function always updates to today's actual ...
1
vote
1answer
5k 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
2answers
50 views

Issues with a counter

I'm trying to create a button in Google sheets which, when pressed, imports a sheet from a separate spreadsheet into the current one and gives it a name of 'Miscellaneous' followed by the number 1 ...
-1
votes
1answer
219 views

Awesome table function

Is there an option in awesome-table.com with the edit links such that the result of the form will be to create a new line in the spreadsheet and only alter the values instead of editing the existing? ...
1
vote
1answer
160 views

How to get Google Account last activity info with more precision than a simple date?

Under Gmail page > Activity Information (low right hand corner) page, I can see: As per the last few rows, the information is certainly not helpful as they are accurate only to the day instead of ...
-1
votes
2answers
878 views

Copying JS array into Google Spreasheet introduces NOT_FOUND cells

I want to create a historic sheet in Google Spreadsheets, where I take the stock data from one sheet and I fill the historic sheet using a specific date in the script. This is how my sheet looks like:...