Justin Wasack

Results 156 comments of Justin Wasack

> Did the test script (pasted above) successfully run on your machine? No The test script didn't work?

@Githubmaniak Thanks for the reply. Let's focus on the test script for now. What exactly doesn't work with it? - can you see the extension popup/menu? - does the *test...

@Githubmaniak can you try this script please? ```js // ==UserScript== // @name TestScript2 // @description This is your new file, start writing code // @match // @noframes // ==/UserScript== alert("This...

> Before that the script doesn't work on naver.com either, but this script works! But complex ad blocking scripts like namulink.user.js and microshield.user.js don't work on my iPhone 6S+. Can...

@Githubmaniak [NamuLink](https://raw.githubusercontent.com/List-KR/NamuLink/main/NamuLink.user.js) **Problems:** 1) Is using `unsafeWindow`. There is no equivalent for Safari. #252 2) This check: `const win = unsafeWindow != undefined ? unsafeWindow : window` is better as...

closing due to inactivity, feel free to reopen if needed @Githubmaniak

@TS6ix2GaH3q679h5 Have you tried the [API method](https://github.com/quoid/userscripts#api) `US.closeTab(tabId)`? You need to `@grant` like the other APIs, `@grant US.closeTab` ``` - `US.closeTab(tabId)` - `tabId: Int` - `tabId` is **optional** and if...

@TS6ix2GaH3q679h5 You have to call the API method to close the tab ```js function closeTab() { US.closeTab(); } ``` If you want to rewrite the `window.close()` function, you can do...

> Seems like I'm not javascript-savvy enough to figure out how to replace the close(); in my script with the correct code then. Anywhere you are using `close();` just replace...

@TS6ix2GaH3q679h5 Thanks for following up. > Sorry to take up your time with this. But I really appreciate any help. Absolutely no need to apologize! After investigating this more, I...