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

can't get likes modified #1

Open
tomasohara opened this issue May 22, 2022 · 2 comments
Open

can't get likes modified #1

tomasohara opened this issue May 22, 2022 · 2 comments

Comments

@tomasohara
Copy link

Hi, I can't seem to get the like's modified. See the attached console log, using tracing added to main.js (also attached).

(https://github.com/fabsrc/like-i-give-a-fuck/files/87490[console-export-2022-5-22_3-49-33.txt]83/console-export-2022-5-22_3-49-33.txt)

[console-export-2022-5-22_3-49-33.txt]

main.js.txt

Here is the main changes for tracing:

$ diff src/main.js.original src/main.js
> // via https://evanhahn.com/when-stringify-doesnt-return-a-string/
> function reallyJsonStringify(value) {
...
> }
> 
...
> 
> console.log("in main.js");
> 
15a43
>     console.debug("checking link: " + reallyJsonStringify(link));
17a46
>       console.log("changed link");
24a54
>       console.debug("checking mutation: " + reallyJsonStringify(mutation));
25a56,57
>         console.debug("addedNode: " + reallyJsonStringify(addedNode));
>         console.debug("addedNode.querySelectorAll: " + reallyJsonStringify(addedNode.querySelectorAll));
37a70,71
> 
> console.log("out main.js");

Note that I had to modify the manifest for it to work under the desktop version of Facebook:

$ diff src/manifest.json.original src/manifest.json
...
<       "matches": ["*://*.facebook.com/*"],
---
>       "matches": ["*://www.facebook.com/*"],

'''

This is also attached as an FYI.
[manifest.json.txt](https://github.com/fabsrc/like-i-give-a-fuck/files/8749105/manifest.json.txt)

@tomasohara
Copy link
Author

@tomasohara
Copy link
Author

manifest.json.txt

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

1 participant