Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
FlatFlowy Bookmarklet for WorkFlowy
//v2.0 FlatFlowy SHOW Notes.
javascript: (function flatFlowy_2_0(css) {
function flatMessage(m) {
if (!search.inSearchMode()) {
showMessage('Flatflowy: <b>' + m + '</b>');
setTimeout(function () {
hideMessage();
}, 1500);
}
}
var h = 'data:text/css;charset=UTF-8,' + css;
var s = document.styleSheets;
for (i = 0, max = s.length; i < max; i++) {
if (s[i].href == h) {
var d = !s[i].disabled ? true : false;
var state = !s[i].disabled ? 'OFF' : 'ON';
flatMessage(state);
return void (s.item(i).disabled = d);
}
}
var a = document.createElement('link');
a.rel = 'stylesheet';
a.href = h;
document.getElementsByTagName('head')[0].appendChild(a);
flatMessage('ON');
})('.page.searching .project .name{display:none!important}.page.searching .project.matches .name.matches{display:block!important}.page.searching .selected>.children>.project .project{margin:0 0 4px!important}.page.searching .children{margin:0!important;padding:0!important;border:0!important}.page.searching .childrenEnd{height:0!important}');
//v2.0 FlatFlowy HIDE Notes.
javascript: (function flatFlowy_2_0(css) {
function flatMessage(m) {
if (!search.inSearchMode()) {
showMessage('Flatflowy: <b>' + m + '</b>');
setTimeout(function () {
hideMessage();
}, 1500);
}
}
var h = 'data:text/css;charset=UTF-8,' + css;
var s = document.styleSheets;
for (i = 0, max = s.length; i < max; i++) {
if (s[i].href == h) {
var d = !s[i].disabled ? true : false;
var state = !s[i].disabled ? 'OFF' : 'ON';
flatMessage(state);
return void (s.item(i).disabled = d);
}
}
var a = document.createElement('link');
a.rel = 'stylesheet';
a.href = h;
document.getElementsByTagName('head')[0].appendChild(a);
flatMessage('ON');
})('.page.searching .project .name,.page.searching .project .notes{display:none!important}.page.searching .project.matches .name.matches{display:block!important}.page.searching .selected>.children>.project .project{margin:0 0 4px!important}.page.searching .children{margin:0!important;padding:0!important;border:0!important}.page.searching .childrenEnd{height:0!important}');
@rawbytz

This comment has been minimized.

Show comment Hide comment
@rawbytz

rawbytz Jan 7, 2018

Go here for install links.

Owner

rawbytz commented Jan 7, 2018

Go here for install links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment