您好,游客!

您好,新朋友。点击以下按钮加入我们!

dropbox links no longer work

About: Mouseover Popup Image Viewer [Preview]

dropbox.com changed their policy and now the old built-in rule no longer works.

Until this is fixed in MPIV, anyone can use these installable rules:

  • dropbox links: {"r":"dropbox\\.com\\/sh?\\/.+\\.(jpe?g|gif|png)", "q":"img.absolute-center", "fix":"return isURL ? s.replace(/(size_mode)=\\d+/, '$1=5') : false"}
  • dropbox viewer: {"d":"dropbox.com", "r":"(.+?&size_mode)=\\d+(.*)", "s":"$1=5$2"}

@kuehlschrank, the updated built-in rules can be something like:

{r:/dropbox\.com\/sh?\/.+\.(jpe?g|gif|png)/i, q:function(text, doc) { var i = qs('img.absolute-center', doc); return i ? i.src.replace(/(size_mode)=\d+/, '$1=5') : false; }},
{d:'dropbox.com', r:/(.+?&size_mode)=\d+(.*)/, s:'$1=5$2'},
话题已锁定。