This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Heuristic for determining first party-ness | |
1. Does the request have a referrer? | |
2. Ignore requests that cannot be associated with a window (tab) | |
3. Is this request part of resolving the page (not Ajax)? | |
4. Are we able to resolve a host domain for referrer and tab URIs? | |
5. Are they the same? | |
6. Are they *not* 'about:blank'? | |
7. Ignore requests that come from within the add-on | |
8. Ignore requests that don't have a valid target or source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A browser that came from Mozilla | |
Let me download so fast it was killa | |
With standards so fine | |
The whole web felt like mine | |
So I built some apps with no filla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var global = new Global(); | |
(function(){ | |
var local = new Local(); | |
local.canvas = document.createElement("canvas"); | |
local.canvas.setAttribute("width", global.stage_width); | |
local.canvas.setAttribute("height", global.stage_height); | |
global.stage.appendChild(local.canvas); | |
local.ctx = local.canvas.getContext("2d"); | |
local.ctx.textAlign = "center"; | |
var main = function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<style> | |
.square{ | |
width: 50px; | |
height: 50px; | |
background-color: blue; | |
</style> | |
<div class="square"></div> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Blacklight Worms", | |
"description": "Nice, but simple, use of sprites", | |
"date": 1371022449674, | |
"waterbearVersion": "2.0", | |
"blocks": [ | |
{ | |
"blocktype": "context", | |
"group": "scripts_workspace", | |
"id": "c7540554-a5d3-4dbf-bc62-f948b68b0d65", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local.count_201 = 0; | |
(function() { | |
setInterval(function() { | |
local.count_201++; | |
var point_202 = { | |
x: randint(0, global.stage_width), | |
y: randint(0, global.stage_height) | |
}; | |
var radius_202 = 30; | |
var color_202 = "rgb(" + randint(0, 255) + "," + randint(0, 255) + "," + randint(0, 255) + ")"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var visualizations = {}; | |
var data = { | |
"format": "CollusionSaveFile", | |
"version": "1.0", | |
"token": "{0ccd56d1-2f59-2142-8f72-e4d12dd64769}", | |
"connections": [ | |
[ | |
"lanistaads.com", | |
"rubiconproject.com", | |
1362156908018, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var global = new Global(); | |
(function(){ | |
var local = new Local(); | |
local.canvas = document.createElement("canvas"); | |
local.canvas.setAttribute("width", global.stage_width); | |
local.canvas.setAttribute("height", global.stage_height); | |
global.stage.appendChild(local.canvas); | |
local.ctx = local.canvas.getContext("2d"); | |
local.ctx.textAlign = "center"; | |
var main = function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local.count_1 = 0; | |
(function() { | |
setInterval(function() { | |
local.count_1++; | |
var point_2 = { | |
x: randint(0, global.stage_width), | |
y: randint(0, global.stage_height) | |
}; | |
var radius_2 = randint(20, 50); | |
var color_2 = "rgb(" + randint(0, 255) + "," + randint(0, 255) + "," + randint(0, 255) + ")"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int number = 15; | |
float[] x = new float[number]; | |
float[] y = new float[number]; | |
float[] r = new float[number]; | |
float[] theta = new float[number]; | |
float[] offset = new float[number]; | |
int minRadius = 30; | |
int maxRadius = 60; | |
void setup(){ |