Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
2
Help us understand the problem. What is going on with this article?
@geishagirlskoume

閲覧しているページをツイートするブックマークレット

More than 1 year has passed since last update.

Bookmarklet を 2 つ紹介(動画再生速度の変更、ツイート) - Qiita https://qiita.com/irisTa56/items/c47cb1bc1ea74126dc0e#bookmarklet-%E3%81%A7%E3%82%A6%E3%82%A7%E3%83%96%E3%83%9A%E3%83%BC%E3%82%B8%E3%82%92%E5%8F%82%E7%85%A7%E3%81%97%E3%81%9F-tweet-%E3%81%99%E3%82%8B

の閲覧しているページをツイートするブックマークレットが
2020/05/30時点ではwindows10のchromeから稼働しないので試してみたら

/intent/tweet?text=

のパスがtwitter側で無効になったっぽい。
ios用のブックマークレットとして紹介されていた

/compose/tweet?text={text}&url={url}

だとpcでも稼働することを確認したので以下になります。

javascript:window.open("https://twitter.com/compose/tweet?text="+encodeURIComponent(document.title)+"&url= "+encodeURIComponent(location.href))
2
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
geishagirlskoume
dj,high-tech hippy

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
2
Help us understand the problem. What is going on with this article?