-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathlj_site_definitions.js
39 lines (36 loc) · 1.19 KB
/
lj_site_definitions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Super special thanks to the LJlogin project from which all this information was gleaned. There were changes made to make this work in Chrome, but hours of research were saved!
var LJlogin_sites = [
{
name: 'Dreamwidth',
domain: '.dreamwidth.org',
cookieurl: 'https://www.dreamwidth.org/',
cookiename: 'ljmastersession',
interfaceurl: 'https://www.dreamwidth.org/interface/flat',
},
{
name: 'LiveJournal',
domain: '.livejournal.com',
cookieurl: 'https://www.livejournal.com/',
cookiename: 'ljmastersession',
interfaceurl: 'https://www.livejournal.com/interface/flat',
},
{
name: 'InsaneJournal',
domain: '.insanejournal.com',
cookieurl: 'https://www.insanejournal.com/',
cookiename: 'ljmastersession',
interfaceurl: 'https://www.insanejournal.com/interface/flat',
},
{
name: 'Scribbld',
domain: '.scribbld.com',
cookieurl: 'http://www.scribbld.com/',
cookiename: 'ljmastersession',
interfaceurl: 'http://www.scribbld.com/interface/flat',
}
];
// Build a key-based look-up for the above data
var LJlogin_keys = {};
for (var i = 0; i < LJlogin_sites.length; i++) {
LJlogin_keys[LJlogin_sites[i].name] = LJlogin_sites[i];
}