This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* For Arc users: In the Boost editor, add this script into content.js | |
*/ | |
let timeoutId; | |
function hideShopeeAffiliates() { | |
clearTimeout(timeoutId); | |
timeoutId = setTimeout(function() { | |
document.querySelectorAll("[data-testid='cellInnerDiv']").forEach(div => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// © 2022 Nourman Hajar | |
// Menjawab survey kesehatan SIAM UB dengan jawaban sehat | |
// Note: Kalau sakit jangan pakai ini y | |
const result = document.evaluate("//tr[@class='text' and not(@id) and descendant::input[@type='radio']]", document, null, XPathResult.ANY_TYPE, null); | |
let node, nodes = [] | |
while (node = result.iterateNext()) nodes.push(node); | |
for (let i = 0; i < nodes.length; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// © 2022 Nourman Hajar | |
// Checkbox kuesioner akan dipilih secara acak antara nilai min dan max. | |
// Cara pakai: | |
// Buka halaman SIAM yang berisi pertanyaan kuesioner > Buka DevTools Chrome (atau pencet F12) > Copas kode ini di situ > Tekan Enter | |
// Masukkan nilai min dari pilihan | |
const min = 3 | |
// Masukkan nilai max dari pilihan | |
const max = 5 |