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
39
votes
7answers
28k 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
27
votes
2answers
3k views

How, exactly, does a Facebook worm work?

I initially had assumed that a FB friend of mine was spreading a malicious link because she had innocently accepted an app and given it privileges, but she says that's not the case. See the exchange: ...
19
votes
5answers
535 views

Where can I interactively play with jQuery and JavaScript? [closed]

I know there was website I once saw that permitted me to play interactively with JavaScript and jQuery. It had an IDE, a render pane and a result debugger thing too. Does anyone know what it was ...
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 ...
4
votes
1answer
21k views

Sort Gmail by Date? [duplicate]

Possible Duplicate: Is it possible to sort your email in GMail by something other than the date received? Is there any way to sort Gmail by date in the web interface? The priority inbox is nice, ...
4
votes
2answers
79k views

How to tag all Facebook group members?

I'm an admin on a Facebook group, I would like to tag all group members to a post, how to do so? Does @group name work? I've seen on Youtube some bot software that claims to do that, but I don't ...
3
votes
3answers
788 views

Can Google Analytics track Javascript or .NET version usage?

I know that Google Analytics requires javascript to work, so I doubt it tracks that. But what about .NET version? Is there a way to view what .NET versions people are using on my site using Google ...
3
votes
1answer
52 views

Determining whether specified time is within 15mins of target time using Google Sheets scripting

I previously built this sheet in Excel in 2016 without scripting. I'm posting a similar question as I did back then, but this time I'm reconstructing the sheet in Google Sheets and automation is ...
3
votes
1answer
10k views

Unfriend multiple friends at once on Facebook

I'd really like to delete a large number of friends (~400) from my Facebook network and I'd really like to optimize this process. I found a greasemonkey script that will apparently help here: http://...
3
votes
1answer
164 views

Odd behaviour noticed with Gmail on different browsers

So I have my Gmail account open on two different browsers on the same computer (Chrome and Firefox). Now I was using the pop out chat feature of Google Talk embedded in the web page of my Chrome ...
3
votes
0answers
74 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
2answers
334 views

Javascript string() function in Google AdWords

Is there a simple way to implement the Javascript string() function in the basic Google AdWords interface? I want to pass some variables returned from a campaign management script to a spreadsheet (...
2
votes
2answers
31k 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....
2
votes
1answer
1k views

Shortcut for clearing a column on Tweetdeck

I like to keep the queue of my tweetdeck columns clear, so I can quickly see what's new. So I clear each column after I've read it off. But it always takes three clicks on each column to clear it (1. ...
2
votes
0answers
177 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
1answer
2k 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 ...
2
votes
0answers
472 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
2answers
9k 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 ...
1
vote
3answers
4k 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
198 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
vote
1answer
4k 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., ...
1
vote
1answer
3k views

Google Sheets casting cell value from Object to Number

One cell in a Google Sheets document holds a value given by a SUM of cells formatted as "elapsed hours":"elapsed minutes". Attempting to make calculations in a custom script on this cell will throw ...
1
vote
3answers
774 views

Keyboard Accessibility in Web Applications [closed]

I would put my question this way: We all know Keyboard is fast (as compare to Mouse). VIM is a simplest example for this. Is there any standard of creating web applications that are keyboard centric? ...
1
vote
1answer
675 views

How do I make a bookmark / favorite / weblink that opens a webpage in a small window? [closed]

How do I make a bookmark / favorite / weblink or command line command, that opens a webpage in a small window? For example, this page for BBC Radio 6 has a link for Listen Live, which opens the ...
1
vote
4answers
4k views

Online Stop Watch Using Pure Javascript and HTML and CSS ( No Flash!) [closed]

Is there an online stop watch that is constructed using pure Javascript, HTML and CSS, without using Flash? There are a couple of flash-based online stopwatch websites, but since I don't prefer ...
1
vote
1answer
93 views

Hide/Unhide rows based on values in particular cells

I am trying to Hide/Unhide rows based on values in particular cells, have the following code which works in isolation but not together. Below only makes B121 be active while B55 stops working. If i ...
1
vote
1answer
52 views

How to convert Export Data > CSV from blockchain.com to a http request?

I want to get the link for the Export Data > CSV at the bottom right of the chart so I can script the end-user behavior into a script but every time I right click to get the URL it immediately ...
1
vote
1answer
61 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 ...
1
vote
1answer
101 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
vote
1answer
53 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
1answer
50 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 ...
1
vote
1answer
2k 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
1answer
2k 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

How to add scripts to blog?

I want to add some source code in my blog in Blogger, so I did a search. In the website I found a similar question and in the solutions I found a solution: Copy the following code: <link href='...
1
vote
0answers
27 views

IFTTT Auto Retweet User's Post with Filter

I would like to create an Applet via IFTTT that automatically retweets a specific users' post when it contains a phrase. I have so far connected the "Tweet by specific user" applet to "...
1
vote
1answer
22 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
1answer
425 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
182 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
22 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
29 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
32 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 ...
1
vote
0answers
42 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
3answers
2k 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 ...
1
vote
1answer
256 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
28 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
1answer
2k views

Populate Form Element Values based on existing Rows in Google Sheets

I am trying to convert an Excel UserForm into Google Sheets where the user can create, update or delete entries in existing sheet based on the input form values. I started with selecting a value and ...
1
vote
0answers
126 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
3answers
114 views

LibraryThing: How do I tell the bug collectors that the site is completely broken? [closed]

First, most of the web page is completely broken when using HTTPS, because they're using the css.librarything.com and js.librarything.com domains to serve CSS and JavaScript (without which the site ...