firefox - How can i extract the meta property:"og:title" content with IMACROS -


i need entract content of meta property;"og:title" using imacros extension firefox. example code <meta property="og:title" content="my page title" /> shoud generate "my page title"... have tried ways extract txt, htb... cant't it... can me, give me example of working codes please?

you may try this:

set !extract_test_popup no tag pos=1 type=meta attr=property:"og:title" extract=htm set !extract eval("'{{!extract}}'.replace(/.*content=\"(.*)\".*/, '$1').trim();") prompt {{!extract}} 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -