]> git.wh0rd.org - tt-rss.git/blob - plugins/share/share_prefs.js
plugins: add some xhrPost refactoring
[tt-rss.git] / plugins / share / share_prefs.js
1 function clearArticleAccessKeys() {
2 if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
3 notify_progress("Clearing URLs...");
4
5 const query = { op: "pluginhandler", plugin: "share", method: "clearArticleKeys" };
6
7 xhrPost("backend.php", query, () => {
8 notify_info("Shared URLs cleared.");
9 });
10 }
11
12 return false;
13 }
14
15
16