{"id":26854,"date":"2023-03-25T14:34:10","date_gmt":"2023-03-25T18:34:10","guid":{"rendered":"https:\/\/ckms.ca\/?p=26854"},"modified":"2023-04-05T23:24:29","modified_gmt":"2023-04-06T03:24:29","slug":"fixed-pressthis-script-opens-login-window-at-x0y0-upper-left","status":"publish","type":"post","link":"https:\/\/blog.ckms.ca\/?p=26854","title":{"rendered":"Fixed: PressThis! script opens login window at X=0,Y=0 (upper left)"},"content":{"rendered":"\n<p>fixed the chrome PressThis! script to open the login window in the middle of the screen instead of up in the upper left corner (x=0, y=0); the &#8220;top=400,left=1500&#8221; is added to the .open function (way down the script)<\/p>\n\n\n\n<p>2023-04-05 &#8211; changed the height to be a fixed 800px:<\/p>\n\n\n\n<p>a.open(&#8220;about:blank&#8221;,r,&#8221;<strong>top=400,left=1500<\/strong>,location,resizable,scrollbars,width=&#8221;+f+&#8221;,height=800&#8243;)<\/p>\n\n\n\n<p>META: this blog can be a very simple vcs for stuff like this.  ain&#8217;t no github, but for a little hack like this, is enuff.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>fixed the chrome PressThis! script to open the login window in the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[282],"tags":[1242,1715],"class_list":["post-26854","post","type-post","status-publish","format-standard","hentry","category-article","tag-software-improvements","tag-wordpress","wpcat-282-id"],"_links":{"self":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/26854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26854"}],"version-history":[{"count":0,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/26854\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}