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
27
votes
2answers
2k 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
516 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
6answers
2k 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
5
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, ...
3
votes
3answers
777 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
47 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
157 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
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
283 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
1answer
934 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
200 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
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 ...
1
vote
1answer
157 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
1k 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
770 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
819 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
2answers
39k 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 ...
1
vote
1answer
4k 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
21 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
22 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
72 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
0answers
21 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 ...
1
vote
0answers
56 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
24 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
1k 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
114 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 ...
0
votes
1answer
2k views

Viewer/parser to show all the Javascript in a web page? [closed]

I am looking for a tool (preferably a plugin to Firefox) that will show and parse all the JS in a page as I browse. UPDATE: Most tools focus on the HTML parser. I need good js parsing e.g. list of ...
0
votes
2answers
1k views

Where is Gmail's CSS?

I've been looking at view-source:mail.google.com/mail for a while, and can't seem to find GMail's CSS. Does anyone know where to find it? I'm wondering if all the script in it "obfuscates" where the ...
0
votes
3answers
521 views

Google Mail Access URL

I want to display my Google Apps mails on my website homepage, in a google gadget. So, I want to fetch all mails of my google apps account using javaScript. Is there any way to access mails ?
0
votes
3answers
645 views

A straw poll widget to add CNN-style polls on one's own website or blog [closed]

Wufoo.com is very nice (maybe overkill with the features) but it's missing one thing I really want for a simple straw poll: when you answer the straw poll question, the question itself should ...
0
votes
2answers
11k 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
225 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('...
0
votes
1answer
1k 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
652 views

How to Process Rows of Google Sheet Singly?

I have a google sheet with the following headers: | name | prop_id | number | street | city | state | zip | phone | first_name | last_name | email | |--------|:--------:|--------:|-------:|-----:|...
0
votes
0answers
13 views

script to remove multiple messages Linkedin [closed]

Unfortunately i have so many messages in Linkedin, so i need to delete them all in multiple way, but Linkedin allow one by one. i searched there's a way in Internet, but all of them fail with me on ...
0
votes
0answers
8 views

Changing properties of custom cursor on hover [closed]

So I am trying to make custom cursor using CSS and Jquery. Till now I have made a div which act as a custom cursor which follows the cursor now what I want to do is that when I hover it over a ...
0
votes
0answers
19 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
16 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 ...
0
votes
0answers
16 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
87 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
67 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 ...
0
votes
1answer
30 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
64 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 ...
0
votes
0answers
173 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
70 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 ...