pastebin - collaborative debugging tool
kpaste.net RSS


Untitled
Posted by Anonymous on Fri 11th Apr 2014 04:25
raw | new post

  1. // ==UserScript==
  2. // @id             www.tumblr.com-bc9c68d4-c9f0-4d69-b972-24258720179f@scriptish
  3. // @name           tumblr redirect
  4. // @version        1.0
  5. // @namespace      
  6. // @author        
  7. // @description    
  8. // @include        https://www.tumblr.com/
  9. // @run-at         document-start
  10. // ==/UserScript==
  11. var signup = document.evaluate('//title["Sign up | Tumblr"]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
  12.  
  13. if (signup) {
  14.         window.location = "https://www.tumblr.com/login";
  15. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at