A little extension to filter out reminder spam from the front page of FA.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
440 B

  1. chrome.storage.sync.get("blacklist", result => {
  2. const runScript = document.createElement("script");
  3. console.log("Result: " + result.blacklist);
  4. console.log(JSON.parse(result.blacklist));
  5. runScript.textContent = "(" + function(blacklist) {
  6. console.log(blacklist)
  7. fa_filter_execute(blacklist);
  8. } + ")(" + result.blacklist + ")";
  9. (document.head || document.documentElement).appendChild(runScript);
  10. });