Spotify play buttons on last.fm

Ask for help about NoScript, no registration needed to post
Somehuman

Spotify play buttons on last.fm

Post by Somehuman »

NoScript seems to prevent the 'Play with Spotify' buttons from working that are used on last.fm, for example here:
http://www.last.fm/music/Beastmilk/_/Yo ... ur+Control
Even if I allow all scripts and disable XSS protection and ABE from NoScript, the button does not work, instead the page becomes grey.

If I uninstall NoScript, the button opens a frame from https://embed.spotify.com on top of the greyed page that offers a login to spotify.

Is there a way to configure NoScript to allow this to happen?
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Spotify play buttons on last.fm

Post by barbaz »

When it fails, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)
*Always* check the changelogs BEFORE updating that important software!
-
Somehuman

Re: Spotify play buttons on last.fm

Post by Somehuman »

One difference I'm seeing with NoScript installed that I don't get without it is the message

Code: Select all

about:blank : Unable to run script because scripts are blocked internally.
I don't know if it is any relevant.
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Spotify play buttons on last.fm

Post by barbaz »

On a clean profile with noscript.restrictSubdocScripting on (all other defaults), Allow Scripts Globally gets it working.
Investigating...

EDIT Looks like the facebook surrogates need an update...
EDIT2 ... and I can't figure out how to update them with what I have access to :(
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply