Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug report] Script cannot be launched on www.tumblr.com/dashboard #327

Closed
yybot1 opened this issue Jan 11, 2018 · 1 comment
Closed

[bug report] Script cannot be launched on www.tumblr.com/dashboard #327

yybot1 opened this issue Jan 11, 2018 · 1 comment

Comments

@yybot1
Copy link

yybot1 commented Jan 11, 2018

What is the problem?

[bug report] Script cannot be launched on www.tumblr.com/dashboard

Script can be launched on most of pages on tumblr.com but doesn't work on www.tumblr.com/dashboard

I tried TamperMonkey on Firefox and my script works well.

Environment

  • Browser: Firefox
  • Browser version: 57.0.4
  • Violentmonkey version: 2.8.24
  • OS: windows 7

The following is a test script, works well on any posts on tumblr.com but doesn't work on www.tumblr.com/dashboard, I tried TamperMonkey and this script works well on www.tumblr.com/dashboard

// ==UserScript==
// @name        tumblr_test
// @require     http://code.jquery.com/jquery-1.11.3.min.js
// @include     *.tumblr.com/post/*
// @include     https://www.tumblr.com/dashboard
// @version     0.1
// @grant       none
// ==/UserScript==

function pageTest() {

  alert("Run pageTest")

  $(document).ready(function() {

    alert("Run pageTest - document ready")

  })
}

pageTest()

@yybot1 yybot1 changed the title tumblr [bug report] Script cannot be launched on www.tumblr.com/dashboard Jan 11, 2018
@gera2ld
Copy link
Member

gera2ld commented Jan 11, 2018

Works for me on Firefox 58. In Firefox 57 CSP issues (#173) might prevent some scripts from working. Tampermonkey has optimized for CSP issues in some unusual way so it works.

default

@gera2ld gera2ld closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants