Greasy Fork is available in English.

Greasy Fork - Analyze from posted scripts

Shows the total amount for each rating, total/daily installs, and scripts posted on any user profile and search pages.

< Feedback on Greasy Fork - Analyze from posted scripts

Review: Good - script works

§
Posted: 2024-07-03

我在自己的user頁面,不會顯示
在你的或其他人的user頁面可以顯示
https://greasyfork.org/zh-TW/users/670188-hacker09

腳本衝突:大人的Greasyfork,右側的安裝數字功能剛好重疊

感謝腳本製作

hacker09Author
§
Posted: 2024-07-03
Edited: 2024-07-03

The right column is like that because you're using a custom theme or stylish thing right?

What's your browser and script manager?

I recommend you talk with the person who created that custom theme to fix that and make it compatible with my script.

Also, what's the issue in your profile page? From the picture, seems like all your data was correctly loaded, besides the right side bar.

§
Posted: 2024-07-03

版本 5.1.1130.129 (正式版本) (64 位元) (Portable) (Chromium 118.0.5993.159)
Violentmonkey暴力猴 2.19.0

了解,主要就自己的user頁面不會有total等等腳本數量

hacker09Author
§
Posted: 2024-07-04
Edited: 2024-07-04

This script was made for tampermonkey, I am not sure if it works with Violentmonkey.

You're using a custom theme or stylish thing, right?

What custom dark mode extension/script are you using?

It works for me on your profile page because I am not using a custom dark mode
https://imgur.com/a/CELTXMT

§
Posted: 2024-07-04

我用這個
https://greasyfork.org/zh-TW/scripts/482487-greasyfork-dark

我在看其他作者是正常顯示的,
只有看自己的不顯示
我有關閉所有腳本,只保留這個

了解了,不適合也沒關係的,感謝回復

The right column is like that because you're using a custom theme or stylish thing right?

" 腳本衝突:大人的Greasyfork,右側的安裝數字功能剛好重疊 "

He said this script conflicts with the script below:

https://greasyfork.org/scripts/23840-greasyfork-search-with-sleazyfork-results-include

我用這個https://greasyfork.org/zh-TW/scripts/482487-greasyfork-dark我在看其他作者是正常顯示的,只有看自己的不顯示我有關閉所有腳本,只保留這個了解了,不適合也沒關係的,感謝回復

你應該一開始把 "大人的Greasyfork" 的鏈結貼上來

§
Posted: 2024-07-04

喔喔,感謝,沒貼可能讓作者誤會了

hacker09Author
§
Posted: 2024-07-04

That translated comment with a link was much more helpful!

@Leadra Have you told https://greasyfork.org/scripts/23840 that his script conflicts with mine?
I don't really want to update my script just to make it compatible with that one

§
Posted: 2024-07-05

側邊欄沒關係的。
主要就問一下,是不是只有本身的user不顯示
不用更新沒問題的,感謝@@

The sidebar doesn't matter.
Just asking, is it only owner user page that is not displayed?
No need to update, no problem, thank you@@""

hacker09Author
§
Posted: 2024-07-06
Edited: 2024-07-06

The only issue that I was seeing was the sidebar because the owner user page bar loaded without issues.
I just fixed a bug that I found about the owner user page bar, it may be related to what you reported.

If you try now, maybe I just fixed it.

§
Posted: 2024-07-06
Edited: 2024-07-06

不好意思勞煩你了,這樣就可以了,可能我電腦問題

同時附上剛才的測試結果
可以顯示他人的Total、Script posts,只有自己的不顯示

Sorry to bother you, this is fine.
Maybe there is a problem with my computer.
Attached is the test result just now.

edge 126.0.2592.87 Enabled: developer mode
tampermonkey or Violentmonkey(chrome store+edge store all test)
Display other people's Total and Script posts normally, except my own.

chrome126.0.6478.127 Enabled: developer mode
tampermonkey or Violentmonkey
Display other people's Total and Script posts normally, except my own.

hacker09Author
§
Posted: 2024-07-06
Edited: 2024-07-06

I opened https://greasyfork.org/zh-TW/users/4839-leadra on edge+tampermonkey and it worked
Script posts: 17
Daily installs: 3
Total installs: 412
Total ok ratings: 1
Total bad ratings: 0
Total good ratings: 2
Latest created: Fri Jun 28 2024 06:39:18
Latest updated: Fri Jul 05 2024 05:42:46

At this point try opening the browser developer tools and go to console, you may see some red error messages, can you copy+paste them here or screenshot them and send them to me?

Also, open https://greasyfork.org/zh-TW/users/4839-leadra.json and copy everything on that page and paste it here. (Do this when you are not logged in)

When you open https://greasyfork.org/zh-TW/users/4839-leadra without being logged in, does the Total bar/box appear or not?

§
Posted: 2024-07-06
Edited: 2024-07-06

Is it this one?
edge+tampermonkey
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map')
at userscript.html?name=Greasy-Fork-Analyze-from-posted-scripts.user.js&id=e9e04e6d-1e89-4c21-9685-16faffebabcf:27:53

------
LatestCreated = new Date(Math.max(...ScriptsArray.map(obj=>new Date(obj.created_at))));

------
without being logged in,'it's OK!!

hacker09Author
§
Posted: 2024-07-06

Are you using version 11 of my script?

The issue is somewhere on line 24, let's go by parts

Paste the code below on the console, press enter, and send me a picture
document.querySelector("#user-script-sets-section, #user-script-list-section")

Then, paste the code below on the console, press enter, and send me a picture
document.querySelector('link[href$=".json"]').href.match(document.querySelector(".user-profile-link > a") !== null ? document.querySelector(".user-profile-link > a").innerText : false)

§
Posted: 2024-07-07
Edited: 2024-07-07

yes~11
is like that?

hacker09Author
§
Posted: 2024-07-07
Edited: 2024-07-07

Thank you.

I think that the issue is that my code doesn't check for upper case letters and your username is Leandra, but your .json file link is all lowercase
so
'https://greasyfork.org/zh-TW/users/4839-leadra.json'.match('Leadra')
Doesn't work and returns null, when it should return something like this https://imgur.com/a/99Iftz9

When you log in what do you see instead of 登入? Do you see Leadra or leadra?

Try running the code below
document.querySelector('link[href$=".json"]').href.match(document.querySelector(".user-profile-link > a") !== null ? document.querySelector(".user-profile-link > a").innerText.toLowerCase() : false)

It should return something like this https://imgur.com/a/99Iftz9

§
Posted: 2024-07-07

about this?
running the code,like your pic

hacker09Author
§
Posted: 2024-07-07

Bug fixed.

§
Posted: 2024-07-07

Success~Thank you for your hard work!!

hacker09Author
§
Posted: 2024-07-07

You're welcome!

hacker09Author
§
Posted: 2024-07-07
Edited: 2024-07-07

@𝖢𝖸 𝖥𝗎𝗇𝗀

Could you please test this script while logged in and let me know what happens? Your profile link really bothers me, maybe it's because you previously had your username in Chinese?

var encodedString = '%F0%9D%96%A2%F0%9D%96%B8-%F0%9D%96%A5%F0%9D%97%8E%F0%9D%97%87%F0%9D%97%80';

// Decode URL encoded characters
var decodedString = decodeURIComponent(encodedString);

console.log(decodedString); // Output: 𝖢𝖸-𝖥𝗎𝗇𝗀

Don't need to care about my profile. I don't use this script ( just no interest to read statistics )

Anyway, yes. You need to do encodeURI/decodeURI (not encodeURIComponent/decodeURIComponent)

As per your request, this is the result.

Just a suggestion.

To verify the url is the user profile of the logged in user or not,

you can use .user-profile-link a[href] to get the logged in user id first. Then match it with the location.pathname's userid

Don't bother with the display text.

§
Posted: 2024-07-07
Edited: 2024-07-07

To match the exact name, you can only do like

display name -> replace space to "-" -> .toLocaleLowerCase('en-US') -> .encodeURI

Post reply

Sign in to post a reply.