Дискусии » Заявки за създаване

[Request] Filmix (filmix.me) enable left click (custom menu like "search")

§
Публикуван на: 11.02.2017
Редактиран на: 18.02.2017

[Request] Filmix (filmix.me) enable left click (custom menu like "search")

Reqest/Запрос
Filmix (filmix.me) enable left click for custom menu/plugins like "search"
Filmix (filmix.me) включить использование левого клика, при выделении любого текста, для плагинов типа поисковых, сейчас левый клик не работает

мешает скрипт тут / sript blocking left click here:
https://filmix.me/templates/Filmix/media/js/site.js?v2.1.2

woxxomМод
§
Публикуван на: 11.02.2017

What is custom menu/plugins like "search"? Where exactly is the click blocked? Maybe you can indicate it on a screenshot.

§
Публикуван на: 11.02.2017
Редактиран на: 11.02.2017

Action(not work): Select text and make left click on selected text
I use "selection search" plugin https://chrome.google.com/webstore/detail/selection-search/gipnlpdeieaidmmeaichnddnmjmcakoe
that have option left click, and it open custom search menu. All other sites work ok, only this not. If adblock block site.js?v2.1.2 then it works, but site not work properly

woxxomМод
§
Публикуван на: 11.02.2017
Редактиран на: 11.02.2017

Yeah, that's an awesome extension, I'm using it too.

// ==UserScript==
// @name         Remove jQuery mousedown handler
// @match        https://filmix.me/*
// @grant        none
// ==/UserScript==

jQuery._data(document.body, 'events').mousedown = [];

P.S. it was caused by $('body').on('mousedown', in site.js

§
Публикуван на: 11.02.2017

Still not working,
"Selection Search extension>>Popup Menu>>Mouse Click>>Left click"

using direct script installation in chrome with manifest.json+sript.js

manifest.json:
{
"content_scripts": [ {
"exclude_globs": [ ],
"exclude_matches": [ ],
"include_globs": [ "https://filmix.me/*" ],
"js": [ "script.js" ],
"matches": [ "https://filmix.me/*" ],
"run_at": "document_start"
} ],
"converted_from_user_script": true,
"description": "Filmix Prevent Ctrl-C interception",
"name": "Filmix Prevent Ctrl-C interception",
"version": "1.0",
"manifest_version": 2
}


Is it possible to merge with working script "Ctrl+C remove Trash when copy", same manifest ?
https://greasyforks.org/ru/forum/discussion/17456/solved-filmix-filmix-me-ctrl-c-remove-trash-when-copy#latest

woxxomМод
§
Публикуван на: 11.02.2017
Редактиран на: 11.02.2017

Works for me using Tampermonkey. Chrome by itself doesn't support many features of userscripts. Try adding unsafeWindow. before jQuery without any spaces.

§
Публикуван на: 11.02.2017

(it works with tampermonkey, direct not)
chrome 55:
unsafeWindow.jQuery._data(document.body, 'events').mousedown = [];

Uncaught TypeError: Cannot read property '_data' of undefined

jQuery._data(document.body, 'events').mousedown = [];

Uncaught ReferenceError: jQuery is not defined

Публикувайте отговор

Влезте, за да публикувате отговор.

长期地址
遇到问题?请前往 GitHub 提 Issues。