Questions about usage of the Stack Exchange API in client-side browser JavaScript.

learn more… | top users | synonyms

22
votes
15answers
2k views

Soapi.JS : fluent JavaScript client library for the Stack Exchange API

Soapi.js If you are looking for a full featured, compact JavaScript client library that provides complete end to end coverage of the API, Soapi.JS is a good choice. You may also want to check out ...
11
votes
12answers
978 views

Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta preview

Soapi.JS2 var context = new Soapi.ApiContext(yourApiKey); context.initialize(function() { context.official.stackApps .Users().ById(14) .invoke(function(users) { ...
246
votes
12answers
21k views

StackTack, a JavaScript widget you can stick anywhere

Screenshot / Code Snippet <head> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript"...
13
votes
1answer
751 views

StackAd - An Easy Way to Display Open-Source Ads on Your Site/Blog

Note: This page is due for an update but until then you can add StackAd to your site by adding: <script type='text/javascript' src='http://files.quickmediasolutions.com/stackad/...
10
votes
0answers
2k views

Stack.JS - Powerful Event-driven Library for Accessing the Stack Exchange API in JavaScript.

About Stack.JS is the JavaScript equivalent of Stack.PHP and aims to replicate the request structure of that library as much as possible. The library is still a long ways from being complete but is ...
8
votes
3answers
270 views

Stack Exchange userscript template / boilerplate

I find it annoying to have to type the entire list of Stack Exchange sites to include every single time I make a new userscript. Furthermore, jQuery isn't automatically included by default. Is there ...
11
votes
0answers
13k 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 ...
13
votes
1answer
295 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 ...
9
votes
0answers
188 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 ...
6
votes
1answer
177 views

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 ...
4
votes
1answer
679 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 ...
1
vote
1answer
212 views

Javascript SDK channelUrl for local development

I am trying to get started with the Javascript SDK. I am developing on a web server on my local machine. I get a channelUrl-related error when calling SE.init. My code: SE.init({ clientId: ...
19
votes
2answers
725 views

VoteCounts: bookmarklet to display up/down votes even for rep less than 1000

Screenshot / Code Snippet About This small bookmarklet will allow anyone to use the "vulnerability" of the API that it allows you to check the up/down vote count - a feat you could normally ...
18
votes
3answers
1k views

Stack Insight - Track a User's Activity Over all Stack Sites.

Screenshots ... but why not see the live site at http://stackinsight.com About Web application to show how all a user has been involve in the different stack sites over time. Just enter your ...
10
votes
1answer
702 views

ThirdPlace JavaScript chat library

Screenshot / Code Snippet var room = ThirdPlace.Room.GetCurrentRoom(); var message = new ThirdPlace.Message; message.room_id = room.id; message.content = "ThirdPlace.js is a library which ...
3
votes
1answer
282 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) ...
4
votes
1answer
42 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 ...
3
votes
1answer
221 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 ...
2
votes
1answer
63 views

Getting “application not configured for implicit grants” error trying to setup website

I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new ...
1
vote
2answers
95 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 ...
-23
votes
1answer
576 views

The serial-downvoter's app suite!

AutoDownVote.SE NOTE: This is an old post. Our browser extension is now discontinued. AutoDownVote.SE is a browser extension that enables you to quickly down-vote every votable Stack Exchange ...