Last Updated: February 25, 2016
·
402
· grakic

Transifex: watch all resources

Transifex is a modern platform for crowdsourced localization, or a "GitHub for l10n". There is an option to watch a resource to get a notification when it is updated, but if you have many resources you need to do a lot of clicking.

This is a JavaScript bookmarklet to watch all resources on Transifex with a single click. Go to a hub/project page and copy-paste this JavaScript code:

$(".stat-row").each(function(b,c){var a=$(c).attr("data-actions-url");$.get(a,function(f){var e=$("span[id^='watch-resource-']",$(f));if(e.hasClass("watch_remove")){console.log("="+a)}else{console.log("+"+a);var d=e.attr("onClick").match(/watch_toggle\(this, '([^']+)'\)/)[1];$.post(d)}})});