Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working for me #1

Closed
EricE549X opened this issue Jan 22, 2022 · 9 comments
Closed

not working for me #1

EricE549X opened this issue Jan 22, 2022 · 9 comments

Comments

@EricE549X
Copy link

EricE549X commented Jan 22, 2022

i installed the poo script with tampermonkey but the profile pic is still a hex
i'm using safari btw

Screen Shot 2022-01-22 at 1 09 28 AM

@4ndv
Copy link
Owner

4ndv commented Jan 23, 2022

Hi! Please open devtools console and send result of this:

document.querySelector("#hex-hw-shapeclip-clipconfig")

@EricE549X
Copy link
Author

couldn't find any results in safari devtools or tampermonkey code

@4ndv
Copy link
Owner

4ndv commented Jan 25, 2022

Please open javascript console in devtools, paste the code and send a screenshot of the result

@4ndv
Copy link
Owner

4ndv commented Jan 25, 2022

Sadly, I'm unable to check in tempermonkey on safari myself, because apparently there is no free way to install tempermonkey for safari

@EricE549X
Copy link
Author

nothin
Screen Shot 2022-01-25 at 5 07 23 PM

the JS console in safari is a list of logs anyway

@4ndv
Copy link
Owner

4ndv commented Jan 26, 2022

You need to copy the code in my previous reply, paste it in the bottom (click after ">" icon) and press return

@EricE549X
Copy link
Author

EricE549X commented Jan 26, 2022

ok here's the result

<clippath clipPathUnits="objectBoundingBox" id="hex-hw-shapeclip-clipconfig" transform="scale(0.005 0.005319148936170213)">…</clippath> = $1

@4ndv
Copy link
Owner

4ndv commented Jan 26, 2022

Thanks! Will try to test it in a couple of hours in safari with tampermonkey

@4ndv
Copy link
Owner

4ndv commented Jan 26, 2022

I've looked into it, looks like a Safari bug to me:

Tampermonkey/tampermonkey#296

TLDR: Safari enforces Content Security Policy when it shouldn't, which breaks userscripts on pages with strict CSP setups like twitter. Sadly, but there is no something I can fix about it

@4ndv 4ndv closed this as completed Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants