1
0
mirror of https://github.com/chylex/Firefox-SCsCC.git synced 2024-11-15 02:42:49 +01:00
Firefox-SCsCC/src/content/resetPrices.js
2017-03-20 20:45:58 +01:00

9 lines
256 B
JavaScript

export default () => {
const dataNodes = document.querySelectorAll('data.scscc');
dataNodes.forEach((dataNode) => {
const replTxtNode = document.createTextNode(dataNode.title);
dataNode.parentNode.replaceChild(replTxtNode, dataNode);
});
};