The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,803 other followers

Some notes on “The WordPress bookmarklet was deprecated. Please delete it from your web browser.” because the `/wp-admin/press-this.php` based URLs look very similar.

Posted by jpluimers on 2017/11/17

Some notes on “The WordPress bookmarklet was deprecated. Please delete it from your web browser.” because the /wp-admin/press-this.php based URLs look very similar because of this:

–jeroen

Since a few days, without announcing it to their paid users (for instance through en.blog.wordpress.com), WordPress.com has killed the “Press-This” bookmarklet button functionality.

Now you have to:

  1. Navigate to the page you want to write about
  2. Copy the URL
  3. Go to the /wp-admin/press-this.php on your blog (in my case https://wiert.wordpress.com/wp-admin/press-this.php)
  4. Wait for the page render
  5. Paste the URL
  6. Press Enter
  7. Wait for the page to re-render
  8. Start writing

The past bookmarklet behaviour was this:

  1. Navigate to the page you want to write about
  2. Click the Press-This bookmarklet
  3. Wait for the page to render
  4. Start writing

So the process takes twice the number of steps, and requires you to remember to copy/paste the URL, so in practice the new behaviour comes down to a process that takes 3 times as long:

  1. Navigate to the page you want to write about
  2. Go to the /wp-admin/press-this.php on your blog (in my case https://wiert.wordpress.com/wp-admin/press-this.php)
  3. Wait for the page render
  4. Remember you forgot to copy the URL
  5. Hit the back-button
  6. Wait for the page render
  7. Copy the URL
  8. Go to the /wp-admin/press-this.php on your blog
  9. Wait for the page render
  10. Paste the URL
  11. Press Enter
  12. Wait for the page to re-render
  13. Start writing

Below are some notes on the new and old situation because the /wp-admin/press-this.php based URLs look very similar.

I’ve mangled the parameter values for _wpnonce and buster to prevent potential abuse.

URLs of the new “enter URL to scan” functionality and the old bookmarklets to blog about https://support.signal.org/hc/en-us/articles/214507138-How-do-I-install-Signal-Desktop-

Below are the same URLs, but with the parameters spread over new lines for comparison.

  • “enter URL to scan”:
https://wiert.wordpress.com/wp-admin/press-this.php
?u=https%3A%2F%2Fsupport.signal.org%2Fhc%2Fen-us%2Farticles%2F214507138-How-do-I-install-Signal-Desktop-
&url-scan-submit=Scan
&_wpnonce=1234567890
&_wp_http_referer=%2Fwp-admin%2Fpress-this.php
  • Bookmarklet V8:
https://wiert.wordpress.com/wp-admin/press-this.php
?v=8
&u=https%3A%2F%2Fsupport.signal.org%2Fhc%2Fen-us%2Farticles%2F214507138-How-do-I-install-Signal-Desktop-
&buster=123456789abcd
  • Bookmarklet V4:
https://wiert.wordpress.com/wp-admin/press-this.php
?u=https%3A%2F%2Fsupport.signal.org%2Fhc%2Fen-us%2Farticles%2F214507138-How-do-I-install-Signal-Desktop-
&t=How%20do%20I%20install%20Signal%20Desktop%3F%20%E2%80%93%20Support
&s=
&v=4

HTML fragment of the “enter URL to scan” functionality part of the page (it is called scanbar):

	<div id="scanbar" class="scan">
		<form method="GET">
			<label for="url-scan" class="screen-reader-text">Scan site for content</label>
			<input type="url" name="u" id="url-scan" class="scan-url" value="" placeholder="Enter a URL to scan" />
			<input type="submit" name="url-scan-submit" id="url-scan-submit" class="scan-submit" value="Scan" />
			<input type="hidden" id="_wpnonce" name="_wpnonce" value="1234567890" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/press-this.php" />		</form>
	</div>

It appears that if you submit an empty or invalid _wpnonce value through a /wp-admin/press-this.php based URL, then the page will display just like the below HTML fragment.

The exception is a parameterless /wp-admin/press-this.php URL that does give a “Press-This” page with empty fields ready to start writing a fresh post.

<html><head><style type="text/css">
:root #mn div[style="position:relative"] > #center_col > div > ._dPg,
:root #mn div[style="position:relative"] > #center_col > ._Ak,
:root #mn #center_col > div > h2.spon:first-child + ol:last-child,
:root #mn #center_col > div > h2.spon:first-child,
:root #content > #right > .dose > .dosesingle,
:root #content > #center > .dose > .dosesingle
{ display: none !important; }</style></head><body><div class="error"><p>
						The WordPress bookmarklet was deprecated. Please delete it from your web browser.					</p></div>
					</body></html>

It renders as The WordPress bookmarklet was deprecated. Please delete it from your web browser.

view raw

notes.md

hosted with ❤ by GitHub

The chat I had with support about this:

Support Chat

Why do I suddenly get “The WordPress bookmarklet was deprecated. Please delete it from your web browser.”
This did work fine until about 12 hours ago.
Is this for the Press This?
It’s how I’ve written more than 7k posts for my blog.
Yes it is.
Which browser are you using?
Chrome.
Same with FireFox.
Both latest versions on Mac OS X Sierra.

The alternative at https://wiert.wordpress.com/wp-admin/tools.php by browsing to the https://wiert.wordpress.com/wp-admin/press-this.php URL fails to get page Title and URL for most of the sites I tried it from.

I’m reading about the feature now and quite recent changes: https://make.wordpress.org/core/2017/11/02/press-this-in-4-9/

Press This is no longer a feature it seems.
Chat got disrupted when chatting about the “Press This” bookmarklet suddenly without any warning failing with “The WordPress bookmarklet was deprecated. Please delete it from your web browser.” in Chrome and FireFox (both latest versions) on OS X Sierra.

I’m reading about the feature now and quite recent changes: https://make.wordpress.org/core/2017/11/02/press-this-in-4-9/

Press This is no longer a feature it seems.
I see that, but I don’t expect such important features to vanish from the Premium plan without up-front warning and a working alternative.

It was a standard feature for any WordPress.com site. Regardless of plan.

But I do understand where you’re coming from.
How to go from here?
It makes writing most of my posts a lot harder. I
I’ve been using this to write close to 1000 posts/year on average.
I’m checking with some teammates for alternatives to see if any exist.
I don’t mind helping testing the new structure, but until things are fleshed out, I’d like the old functionality back.

Looking at https://github.com/WordPress/press-this/ it is very young, so it feels very premature to fully flip the switch to the new structure already.

There aren’t any alternative features here at WordPress.com.

What you’ll want to do is look into other WordPress plugins to see if any offer similar functionality.

Here’s a great place to start: https://wordpress.org/plugins/

The whole idea of having a Premium plan on WordPress.com is that I should not worry about plugins or feature-stability.

Basically I’m having the same issue as https://make.wordpress.org/core/2017/11/02/press-this-in-4-9/#comment-33164

I see that Mr Kraft wishes opinions to be voiced here: https://make.wordpress.org/core/2017/11/02/press-this-in-4-9/#comment-33165

If possible, I recommend leaving something there so that the conversation is continued.

When you have a moment, could you test the Press This located at the bottom: https://wordpress.com/settings/writing/wiert.me

You would add that new “Press This” bookmarklet to your browser. Copy bits and pieces from the pages you visit and click the Press This bookmarklet to post.
I did that, and the new way fails for > 90% of the URLs I tried.
Writing this up and the comment on the GitHub issue took me already more time than a yearly subscription is worth.
Sorry, we missed you! All our Happiness Engineers are currently busy. Please check back later.

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: