Paste the js code to Tampermonkey(Chrome) or Greasemonkey(Firefox). Paste the css code to Stylish, and set the matching url pattern as "https://workflowy.com/".
Open a new workflowy page, it works!
import sys | |
import random | |
from random import randint | |
INF = 10 ** 10 | |
P1 = 860939810732536850 | |
P2 = 937467793908762347 | |
Paste the js code to Tampermonkey(Chrome) or Greasemonkey(Firefox). Paste the css code to Stylish, and set the matching url pattern as "https://workflowy.com/".
Open a new workflowy page, it works!
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://workflowy.com/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
#include "KVTree.hpp" | |
void TreeIterator::next() { | |
return; | |
} | |
bool TreeIterator::has_next() { | |
while (!_stack.empty() || _cur) { | |
if (_cur == nullptr) { | |
_cur = _stack.top(); |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
using namespace std; | |
#define input(x) cin >> x |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
#include <map> | |
#include <unordered_map> | |
using namespace std; |
print 'Hello World!' |
#include <cstdio> | |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
using namespace std; | |
#define print(x) do {cout << x << endl;} while(0) | |
#define input(x) do {cin >> x;} while(0) |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <iostream> | |
#include <algorithm> | |
#include <cmath> | |
using namespace std; | |
#define print(x) cout << x << endl |