FeedMonkey HTML5 RSS Feed Reader

Check-in [9af73d7e32]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fiddle the saved state of reader mode
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/clean | trunk | master
Files: files | file ages | folders
SHA3-256:9af73d7e32de381e151bc46067f29b405c665ebb24bc4c83ab0fac673b302368
User & Date: vandys 2019-07-27 14:35:30
Context
2019-07-27
14:41
Drop the gesture support (never useful to me) Leaf check-in: 7949d1286a user: vandys tags: origin/clean, trunk, master
14:35
Fiddle the saved state of reader mode check-in: 9af73d7e32 user: vandys tags: origin/clean, trunk, master
2019-04-21
00:08
Add option to invoke Mozilla's "reader view" mode on articles. check-in: 703769dde1 user: vandys tags: origin/clean, trunk, master
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to js/App.js.

14
15
16
17
18
19
20

21
22
23

24
25
26
27
28
29
30
31
..
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
}

// Toggle whether reader mode should be called when you
//  open an article
var reader_mode = false;
function toggleReader() {
    if (reader_mode) {

	localStorage.reader = reader_mode = false;
	readerbtn.style.backgroundColor = "Grey";
    } else {

	localStorage.reader = reader_mode = true;
	readerbtn.style.backgroundColor = "LightGreen";
    }
}

class App {
    constructor() {
	this.login = new Login(this);
................................................................................
	    maxDownload = 500000;
	}
	this.maxDownload(maxDownload);

	// Set the inversion of our saved reader value,
	//  then use our toggle function to get the UI
	//  set to the right color.
	reader_mode = !(localStorage.reader || false);
	toggleReader();
    }

    authenticate() {
    }

    handle_hashchange(e) {







>
|


>
|







 







|







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
..
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
}

// Toggle whether reader mode should be called when you
//  open an article
var reader_mode = false;
function toggleReader() {
    if (reader_mode) {
	localStorage.reader = "false";
	reader_mode = false;
	readerbtn.style.backgroundColor = "Grey";
    } else {
	localStorage.reader = "true";
	reader_mode = true;
	readerbtn.style.backgroundColor = "LightGreen";
    }
}

class App {
    constructor() {
	this.login = new Login(this);
................................................................................
	    maxDownload = 500000;
	}
	this.maxDownload(maxDownload);

	// Set the inversion of our saved reader value,
	//  then use our toggle function to get the UI
	//  set to the right color.
	reader_mode = !((localStorage.reader == "true") || false);
	toggleReader();
    }

    authenticate() {
    }

    handle_hashchange(e) {