With the following code one can search for metadata on NPL, which would also be displayed via a "ct=XP...."-search.
Additional information: other database providers (soruces), who also contain those entry like INSPEC, ELSEVIER,...
javascript:(function(){ var logXPdata =(XPNum)=>{ var destURL=encodeURI('https://worldwide.espacenet.com/3.2/rest-services/search?q=apd=%27+XPnum); fetch(destURL, { %27headers%27: { %27accept%27: %27application/json,application/i18n+xml%27, %27content-type%27: %27application/json%27, %27epo-trace-id%27: %27ghost%27 }, %27body%27: JSON.stringify({ %27query%27: { %27fields%27: [%27biblio%27,%27publications.doi%27,%27publications.accessnum%27] } }), %27method%27: %27POST%27, %27mode%27: %27cors%27, %27credentials%27: %27include%27 }).then(e=>e.text()).then(e=>{try{console.log(JSON.parse(e))} catch (e){alert(e)} })}; if (window.location.href.includes(%27.espacenet.com%27)||window.location.href.includes(%27search.epo.org%27)){ var XPnum=prompt(%27enter XP-number%27,%27XP012027767%27); logXPdata(XPnum); } else{alert(%27Only works on Espacenet or ANSERA%27)} })();
With the following code one can search for metadata on NPL, which would also be displayed via a "ct=XP...."-search.
Additional information: other database providers (soruces), who also contain those entry like INSPEC, ELSEVIER,...
javascript:(function(){ var logXPdata =(XPNum)=>{ var destURL=encodeURI('https://worldwide.espacenet.com/3.2/rest-services/search?q=apd=%27+XPnum); fetch(destURL, { %27headers%27: { %27accept%27: %27application/json,application/i18n+xml%27, %27content-type%27: %27application/json%27, %27epo-trace-id%27: %27ghost%27 }, %27body%27: JSON.stringify({ %27query%27: { %27fields%27: [%27biblio%27,%27publications.doi%27,%27publications.accessnum%27] } }), %27method%27: %27POST%27, %27mode%27: %27cors%27, %27credentials%27: %27include%27 }).then(e=>e.text()).then(e=>{try{console.log(JSON.parse(e))} catch (e){alert(e)} })}; if (window.location.href.includes(%27.espacenet.com%27)||window.location.href.includes(%27search.epo.org%27)){ var XPnum=prompt(%27enter XP-number%27,%27XP012027767%27); logXPdata(XPnum); } else{alert(%27Only works on Espacenet or ANSERA%27)} })();