Comments (14)
They are not triggered (yet). I will try to detect when and which pinEvents have to be sent when relisting auctions. Good point.
from futwebapp-tampermonkey.
I don't see any pinEvents triggered after relisting, only before, when entering the transfer list page
from futwebapp-tampermonkey.
I've done some research, but didn't implement it yet. Code to be used is:
gPinManager.trigger(utils.PinFactory.createEvent(enums.PIN.EVENT.PAGE_VIEW, {
type: PinManager.PAGEVIEW_EVT_TYPE,
pgid: pageId
}));
pageId
should be "Hub - Transfers"
for the first call to the hub, then "Transfer List - List View"
for navigating to the transfer list view.
This will be included in the single script version I'm working on.
from futwebapp-tampermonkey.
We should also trigger pinEvents when searching for min price, and its more complicated, because it depends in which screen you currently on.
Actually, its also necessary with auto relisting. I mean, lets say you in the club page and now its time to relist: so you first need to send pinEvent with "Hub - Transfers"
and then a pinEvent with "Transfer List - List View"
and then a pinEvent with "Hub - Club"
Question: is it possible to "click" on the actual buttons? I mean fire the click event
from futwebapp-tampermonkey.
Yeah, that would be possible when we get the script in 1 single file. Every action could go through a queue so they don't interfere with each other.
It is possible to fake click events. Take a look at https://github.com/martellaj/shortfuts for an example of this.
from futwebapp-tampermonkey.
Wouldn't it be better to take this approach?
from futwebapp-tampermonkey.
It's a different approach. If either one is better is open for discussion, but in the end all actions are sent through the communication delegates.
from futwebapp-tampermonkey.
I think its better in case they will decide to change something in the events
from futwebapp-tampermonkey.
I tested sending the pinEvents using the method you mentioned above and I noticed a difference between the pinEvents that are sent and the one I sent manually.
I attached two har files: originalPostPinEvent.har representing an original post pin event when entering the transfer search page and manualPostPinEvent.har representing the manual one.
Edit by Mardaneus86: (removed HAR files for security reasons)
from futwebapp-tampermonkey.
Well that difference is an extra request to remoteConfig.json
which might have been caused by another process. The rest is completely the same.
By the way, I've removed those HAR files for you because they contain your personal cookie information!
from futwebapp-tampermonkey.
So what causing the difference?
And thanks! I forgot to remove them
from futwebapp-tampermonkey.
Like I said, the remoteConfig.json
is called on specific intervals by the app. It has nothing to do with pinEvents. I see no difference for the pinEvents themselves... Please reach out on Gitter to discuss this further if you want to.
from futwebapp-tampermonkey.
I've joined Gitter
from futwebapp-tampermonkey.
Fixed in v0.2.2.
from futwebapp-tampermonkey.
Related Issues (20)
- Auto Buy it Now feature
- adjustable marked bargains
- Compact search results in transfer market so you can see the whole page without needing to scroll HOT 5
- [Request] Auto relist transferlist items / delete after X amount of times not sold
- Shortcut to List Player on Transferlist
- Error - 403. Your client does not have permission to access this page at this time. Contact us on [email protected] HOT 1
- Extract club players from webapp
- 5% tax or Percentage change
- Stopped working HOT 15
- Mobile phone + Kiwi HOT 5
- Search Minimum not work with new version? HOT 2
- Question: How to fetch trade id HOT 1
- Updated to 2.0.3, working as before temporarily, then stopped working again. HOT 3
- Jump on last page or page number
- does not buy automatically after the update appfut
- Add keyboard shortcuts like Shortfuts
- Use a 3rd party data source instead of Futbin
- oAuthentification error again?
- buy now skip not working anymore HOT 1
- Futbin prices not showing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from futwebapp-tampermonkey.