Merging Two Workers Together

Need some help merging two worker scripts together. One is a redirect and another alters CSS. Both are working when unmerged. Can someone please help me?
13 Replies
Retard
RetardOP2y ago
Will send the separate Workers Here
Retard
RetardOP2y ago
Pastebin
class PRICING_MODE_ON { element(element) { if (element.tagName ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Retard
RetardOP2y ago
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Retard
RetardOP2y ago
Hi @jsoncx, thanks so much for your attention So mainly it would work like IF user is from country in countrymap - redirect to that url and END ELSE - proceed with the Worker 1
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Retard
RetardOP2y ago
When I attempt to merge it becomes an "either or" scenario with first come first serve Or in other words, if I drop Worker 2 on top, then only redirect will be effective and vice versa I know there shouldn't be too much complexity to it, but... I cannot get both to operate in the funnel If I add an extra IF inside of worker 1 for the redirect, that redirect does not work at all :/
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Retard
RetardOP2y ago
Correct. I am smart enough to use all the resources on the web to build both of these workers But sadly, my lack of Worker knowledge is now conflicting when it comes to merging together :/
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Retard
RetardOP2y ago
Marginally, I will only be guessing here forward. I really appreciate you educating me, and I don't mean to make anyone do anything for me (I am a dev myself so understand the training) - but Workers are something I am quite beginner in I plan to evaluate any revisions that are handed to me to see how they are done And I have no problem guess checking with you a few times, it will just take some time
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Retard
RetardOP2y ago
Really appreciate it. Jumping on this right now
Want results from more Discord servers?
Add your server