-
|
I'd like to run some javascript before any other scripts are being run on a page and I can't figure out how to do that in a stable sense. What I've tried doing is
I've figured out two possible (but very fragile and hacky) ways to half solve it:
So, long story short: Is there any event I can use or a cleaner way to do what I'm trying to achieve here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Have you checked: Lines 878 to 879 in b6b42d8 Its unit test is its doc: Lines 14 to 30 in 945ca02 |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the quick answer! I had indeed missed that function, sorry about that. |
Beta Was this translation helpful? Give feedback.
Have you checked:
rod/page.go
Lines 878 to 879 in b6b42d8
Its unit test is its doc:
rod/page_eval_test.go
Lines 14 to 30 in 945ca02