Comments (5)
@Samyoul Good find - yep, I can replicate
I think the POA should be to not do the address logic for EAL if an li
has an attribute ng-repeat
. What do you think?
from etheraddresslookup.
The current structure with EAL is:
<ul class="dropdown-menu dropdown-menu-left" ng-show="dropdownExistingContracts">
<!-- ngRepeat: abi in ajaxReq.abiList track by $index -->
<li ng-repeat="abi in ajaxReq.abiList track by $index" class="ng-scope">
<a ng-click="selectExistingAbi($index)" class="ng-binding">300 - Warrior for Battle Contract
<small class="mono ng-binding">
<a
title="See this address on the blockchain explorer"
href="https://etherscan.io/address/0xaEc98A708810414878c3BCDF46Aad31dEd4a4557"
class="ext-etheraddresslookup-link ext-etheraddresslookup-link-highlight"
target="_blank"
>0xaEc98A708810414878c3BCDF46Aad31dEd4a4557</a>
</small>
</a>
</li>
...
</ul>
I think the POA should be to not do the address logic for EAL if an li has an attribute ng-repeat. What do you think?
I think that should fix this issue, but will why does injecting the <a> into the HTML cause this issue?
Structure without EAL:
<li ng-repeat="abi in ajaxReq.abiList track by $index" class="ng-scope">
<a ng-click="selectExistingAbi($index)" class="ng-binding">300 - Warrior for Battle Contract
<small class="mono ng-binding">0xaEc98A708810414878c3BCDF46Aad31dEd4a4557</small>
</a>
</li>
from etheraddresslookup.
I think that the bug is related to the application JS firing before Angular can do its thing, because manually altering the HTML doesn't give this issue.
I think your idea handles this bug as gracefully as possible.
Is it possible to defer the execution of the application JS until after the page JS has finished?
from etheraddresslookup.
Is it possible to defer the execution of the application JS until after the page JS has finished?
Yep, should be able to modify this block in DomManipulator
window.addEventListener("load", function() {
let objEtherAddressLookup = new EtherAddressLookup();
});
from etheraddresslookup.
Will be looking at this tonight 1900 (GMT timezone)
from etheraddresslookup.
Related Issues (20)
- False positive: ftxpremiums.com
- firefox addon link is dead HOT 1
- Erroneous phishfort address HOT 1
- Threat Response Error for app.strongblock.com HOT 7
- Whitelist Polywrap.io
- BSC project sj HOT 2
- Binance DEX blocked
- Now its something happening with my Atari Token kontrakt.
- piston-token.com
- Blacklist of sites
- Installed Leger on new computer...all ETH gone
- Address lookup on the wrong network
- wrongfully blocked
- [Legitimate Site Blocked] agent1.xyz
- [Legitimate Site Blocked] agent1.xyz
- [Whitelist Request - Legitimate Site Blocked] pepemon.world HOT 1
- Blacklist exclusion request HOT 1
- My Ether address looking up
- Wrongly Blacklisted
- Fucking with my shit
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 etheraddresslookup.