We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[demo] <a href="javascript:..."> in my-view2 is hooked multiple times
<a href="javascript:...">
<a href="javascript:alert('clicked')">
javascript:const __8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__=$hook$.$(__hook__,['/components/thin-hook/demo/,a,href@1718','/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_alias_object__;/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_callback_function__;/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_callback_function__;/components/thin-hook/demo/,a,href@1718','_uNpREdiC4aB1e___unexpected_access_to_hook_alias_object__;/components/thin-hook/demo/,a,href@1718']);__hook__((...args)=>(__hook__(()=>{const __b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__=__hook__('()',$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1],'__unexpected_access_to_hook_alias_object__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[2]],['$',[$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[3]],['/components/thin-hook/demo/my-view2.html,a,href@1718','_uNpREdiC4aB1e_alert;/components/thin-hook/demo/my-view2.html,a,href@1718']]],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1]);__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[(...args)=>__hook__((...args)=>__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[(...args)=>(__hook__(()=>{__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[__hook__('.',__hook__('()',$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_alias_object__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[5]],['global',[$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),'alert','get']],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),[__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[1],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),null,['clicked'],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);},null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])),null,args,__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0),null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),null,[],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);},null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])),null,[],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
[demo]
<a href="javascript:...">
in my-view2 is hooked multiple timesRoot Cause
Original code
<a href="javascript:alert('clicked')">
Malhooked a.href code
javascript:const __8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__=$hook$.$(__hook__,['/components/thin-hook/demo/,a,href@1718','/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_alias_object__;/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_callback_function__;/components/thin-hook/demo/,a,href@1718,__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__','_uNpREdiC4aB1e___unexpected_access_to_hook_callback_function__;/components/thin-hook/demo/,a,href@1718','_uNpREdiC4aB1e___unexpected_access_to_hook_alias_object__;/components/thin-hook/demo/,a,href@1718']);__hook__((...args)=>(__hook__(()=>{const __b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__=__hook__('()',$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1],'__unexpected_access_to_hook_alias_object__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[2]],['$',[$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[3]],['/components/thin-hook/demo/my-view2.html,a,href@1718','_uNpREdiC4aB1e_alert;/components/thin-hook/demo/my-view2.html,a,href@1718']]],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[1]);__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[(...args)=>__hook__((...args)=>__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[(...args)=>(__hook__(()=>{__hook__($hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],null,[__hook__('.',__hook__('()',$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_alias_object__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[5]],['global',[$hook$.global(__hook__,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],'__unexpected_access_to_hook_callback_function__','get')[__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[4]],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),'alert','get']],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),[__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[1],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),null,['clicked'],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);},null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])),null,args,__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0),null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),null,[],__hook__('.',__b8bf11c1dfe8ef8c5764b102a944d906ec9ea6c65a5ea7c92a737e51e83b4ece__,[0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0]),0],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);},null,args,__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0])),null,[],__8fa6d5b4e04c7054054c168457515b505458fc7c084193914392e973d8deff3e__[0],0);
The text was updated successfully, but these errors were encountered: