Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by abdu

  1. In CSS how can I select an element based on whether it has an attribute or not at all?
  2. How do we convert element node, ie nodeType is 1, to string text using javascript ?
  3. How do we obtain value of aria-label attribute using javascript ? I tried a=document.getElementsByTagName('a'); for (i=0;i<a.length;i++) if (a[i]) value=a[i].arialabel; not work
  4. How do we change/modify a style property within CSS body, ie. not in inline style, either CSS in style tag body or in external file, by using JavaScript?
  5. That's meant for client-side, user will be eased to always reply 'yes' in requesting on him
  6. How to command an end or finish in a javascript program/script
  7. How is the code/algorithm to automate yes-clicking cookies agreement anytime it requests ?
  8. How do we save a string, in javascript; var s='a sentence needs to be saved' into Windows text file on local HDD/machine THANKS IN ADVANCE.
  9. How to have url of offline/local web page can be affected by browser-injected javascript
  10. still not work; var frm = document.getElementsByTagName("iframe"); console.log('number of frame= '+ frm.length); On Chrome Devtool,
  11. I tried to insert an element into iframe so first I must retrieve it by var frm = document.querySelectorAll(iframe) but cannot work. How to succeed to insertion as easily as other ordinary elements? thank so much.
  • Create New...