Questions tagged [javascript]
Questions about usage of the Stack Exchange API in client-side browser JavaScript.
79 questions
6
votes
1
answer
288
views
OBSOLETE - StackAd Scroller
Screenshot
About
StackAd Scroller is a small web application that scrolls the open source ads from this Meta question. It is highly configurable and makes a nice page to leave your web browser open ...
4
votes
0
answers
303
views
Want a way to give your user the access token nicely?
Well your wishes have been fulfilled. Over on GitHub is a page ready designed for you to use!
It's my SEAuthentication repro.
What does it do?
How does it work?
The essential code is below. There is a ...
4
votes
2
answers
204
views
How to use the StackExchange object on a userscript?
This object seems to be available in all Stack Exchange pages and contains interesting information about the actual page, site, user, among others. Just type StackExchange on the console to check it ...
7
votes
0
answers
785
views
Stack Overflow Instant Search
Screenshot
About
I love the concept of instant search that Google introduced. Stack Overflow Instant Search does exactly that - it brings (almost) instant search to Stack Overflow. The results update ...
3
votes
1
answer
148
views
Help with javascript SDK configuration
The following problem is REAL! All names have been changed to protect the innocent.
I have a site at "http://Something.github.io/MyRepository/Directory/index.html"
And I have my app configured like ...
15
votes
1
answer
415
views
Support Cross-Origin Resource Sharing
Currently, the only way to call the API from javascript is to use JSONP, but this can be cumbersome and has security issues. If the following header was included in all API responses, the API could be ...
12
votes
0
answers
15k
views
How to call the API via JSONP in Plain Old JavaScript
This tips demonstrates how to call the API in JavaScript without the need of jQuery or other frameworks.
In a lot of cases you will find that the JSONP implementations provided in various frameworks ...
5
votes
1
answer
324
views
Suggestion Status - a userscript to view the status of your suggested edits
Suggestion Status is a small userscript which displays the status of your suggestions using color codes; , and yet to be reviewed. This allows you to immediately see the status of your suggestions, ...
7
votes
1
answer
1k
views
Is it safe to embed my API key into my javascript-only application?
I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
4
votes
0
answers
383
views
Angular StackOverflow Activity, a module for showing off your public activity
Screenshot
About
AngularJS directive module for showing off your public StackOverflow activity. Works well with responsive frameworks including Bootstrap 3. Customizable templates and iconography.
...
3
votes
1
answer
438
views
How do I get a GreaseMonkey/UserScript to interact with the Live Preview?
I've converted a script that I hope to get embedded on a StackExchange site (Lego Answers) to a GreaseMonkey/Userscript but I'd like to get it interacting with the live preview when creating or ...
4
votes
0
answers
235
views
Hide unwanted questions (Greasemonkey Script)
About
This Greasemonkey script enables you to hide questions you don't want to see. At the moment Stack Overflow gives you the option to "dim" or hide questions with ignored-tags but doesn't allow ...
2
votes
2
answers
930
views
Is something filtering 'document.cookie' in SO pages?
My colleague and I are developing an annotation tool for web resources. One way The user can us the tool is to click a special bookmarklet to view the current page with annotations added. The ...
2
votes
1
answer
109
views
Is there any API or documentation that would help my adding functionality to Q&A textareas?
I'm writing an userscript that should add some functionality to the main textarea (WMD) used to post and edit answers and questions. The functionality will usually need to do things like insert text ...
5
votes
0
answers
93
views
QuestionPacker - Packs Question in a Webpage
Screenshot
About
It is my version of StackTack, which seems to be discontinued.
License
Inbox Reader is released under the Apache License 2.0.
Download
You can get QuestionPacker here:
http://...
3
votes
1
answer
371
views
Web SENotify - Stack Exchange website new question notification
Screenshot
About
This website is a notification tool of new question on Stack Exchange website.
License
Public Domain
Download
Download http://senotify.jeb.be/ content (html, css, js from)
Platform
...
5
votes
1
answer
905
views
StackScript JavaScript Wrapper
Code Snippet
Demonstrates the StackUser class:
// Global object
var ss = new StackScript('');
function GetInfo()
{
// The provided callback will be called
// when the data arrives
var ...
5
votes
3
answers
181
views
Injecting HTML Into A Stackexchange Site
I am writing an application that injects some HTML into the page. I was wondering what the policy is for this. Is it ok or generally frowned upon?
3
votes
0
answers
124
views
I am an awful person and I hate lazers
About
Don't like the hover animation on Arqade's mothership? You are probably an awful person, but here's a userscript anyway.
Download
I am an awful person and I hate lazers
Platform
Runs ...
5
votes
0
answers
355
views
Small jQuery plugin for flair
See it in action at http://iamaust.in
About
I know I know another flair plugin. I made this because I always wanted to write a jQuery plugin and for my new website I needed a Stack Overflow flair that ...
4
votes
0
answers
308
views
Stack Tunnel - WebGL Visualization for Stack Exchange
Stack Tunnel
Screenshots
About
StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
5
votes
1
answer
187
views
What timezone is used in the API?
When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds?
To get the current time to pass as ...
6
votes
2
answers
210
views
OR operator for StackOverflow API
I'm trying to get a list of questions from the SO API for a number of tags,
At the moment I am using the ; operator to separate the tags in the URL but the thing is this only brings up questions that ...
4
votes
0
answers
425
views
Widget Of Awesomeness, an extended profile JavaScript widget
2010-07-17: Due to lack of interest I'm shutting down the hosted version of this.
Screenshots
Widget:
About
The Widget Of Awesomeness lets you embed a simple widget on any page that will display your ...
10
votes
0
answers
280
views
StackTack - George Edison Remix (now with a few extra features!)
Screenshot
About
StackTack was originally listed here on Stack Apps. The idea was terrific and Soviut did such an awesome job building the application that I decided to fork it. My original intention ...
2
votes
1
answer
253
views
Using the API directly from JavaScript
Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
1
vote
1
answer
403
views
How to use the stackapps API from JavaScript with XMLHttpRequest or XDomainRequest?
I had an idea for an app that required calling the stackapps API from JavaScript, but when I started prototyping it I quickly found out that the API does not allow cross origin requests. This means ...
6
votes
0
answers
156
views
JSBeautifier shortcut
This userscript adds a shortcut (CTRL+SHIFT+B) to beautify the selected JavaScript code using the same engine that also runs jsbeautifier.org.
You can find the source on GitHub (feel free to fork, ...
2
votes
1
answer
359
views
Best way to calculate total badge count in Javascript?
I'm using Javascript and JSONP and want to find-out a user's total badge-count (i'm not using any libraries).
At first I naively added up the badge counts individually, but some user's have no badges....