• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    CoffeeScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Adds support for cookies in Electron. Cookies are persisted through localStorage.

Important! This repository has moved.

For the currenlty maintained version, see heap/electron-cookies.

Electron Cookies

(Formerly called atom-shell-cookies)

Adds support for cookies in Electron. Cookies are persisted through localStorage.

Forked from https://gist.github.com/paulcbetts/2d2de55d137a1cf9d1ac.

Why?

Electron's renderer environment doesn't come with built in support for a document.cookie API. Thus, if you want to use Google Analytics or another client-side analytics library, they won't work because they can't set cookies.

By using this package, you can drop client-side analytics code into your app and it will work splendidly.

Installation

npm install electron-cookies

Usage

In your app's renderer code, just require this package:

require('electron-cookies')

Contributing

Original code is written in src/index.coffee, with tests at spec/electron_cookies_spec.coffee. Write code in coffeescript, and run grunt to compile coffeescript on the fly.

More Repositories

1

rbtc_arbitrage

A gem for automating arbitrage between Bitcoin exchanges.
Ruby
274
star
2

issue_stats

Analyze and compare how long it takes for Github issues to be closed.
Ruby
185
star
3

gender

Gender classification by first name in Go.
Go
99
star
4

copypastecsv

Paste in CSV, get a shareable file
Ruby
9
star
5

afterparty

A Rails 4 compatible queue with support for executing jobs in the future and serialization with ActiveRecord.
Ruby
9
star
6

stacks-fungible-token

A set of example contracts implementing the Stacks fungible token standard
TypeScript
9
star
7

glitchnet

An experimental Tensorflow LSTM network that glitch and pixel artwork.
Jupyter Notebook
8
star
8

uludum

An open platform for online education
Ruby
6
star
9

genetic

A genetic algorithm library in Go
Go
5
star
10

aqui

A handy method for logging your code as it runs
Ruby
4
star
11

sip-12-js

A JS / TS library for fetching SIP 12 data
TypeScript
4
star
12

send-many-stx-cli

A simple CLI for making a bulk STX transfer in one command.
TypeScript
4
star
13

bsk-analytics

TypeScript
4
star
14

dynamojs_rails

A light wrapper for using dynamo.js with Ruby on Rails.
Ruby
3
star
15

clarigen-counter-example

An example project for Clarity smart contracts that use Clarigen and Clarinet
TypeScript
3
star
16

bns-scripts

A few scripts for BNS stuff
TypeScript
3
star
17

Coderbracket-Weighted-Scorer

Some javascripts for making march madness brackets on coderbrackets.com
CoffeeScript
2
star
18

blockstack-demo-apps

A few Blockstack sample apps made to try out new functionality
JavaScript
2
star
19

mailigen-js

A JS library for using the Mailigen API
JavaScript
2
star
20

geospeed

An app for getting the speed limit, wherever you are.
Ruby
2
star
21

always-sunny

Visualize the time of day and weekday that episodes of "It's Always Sunny in Philadelphia" start at.
Ruby
1
star
22

hn-scraper

A gem for logging in and posting to Hacker News
Ruby
1
star
23

hankstoever.com

My personal website
Ruby
1
star
24

debut-server

Debut Server powered by Radiks
JavaScript
1
star